Update
This commit is contained in:
1 parent
a7a66a9043
commit
0489ef2c39
5 files changed
+79
-36
No files matched your search
@@ -53,11 +53,11 @@ public class ViewTransition {
|
||||
return mShownView;
|
||||
}
|
||||
|
||||
public void showView(int shownView) {
|
||||
showView(shownView, true);
|
||||
public boolean showView(int shownView) {
|
||||
return showView(shownView, true);
|
||||
}
|
||||
|
||||
public void showView(int shownView, boolean animation) {
|
||||
public boolean showView(int shownView, boolean animation) {
|
||||
View[] views = mViews;
|
||||
int length = views.length;
|
||||
if (shownView >= length || shownView < 0) {
|
||||
@@ -104,6 +104,10 @@ public class ViewTransition {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user