Refactor GalleryPreviewsScene
This commit is contained in:
1 parent
5ddd948ace
commit
691dc18f3b
2 files changed
+25
-67
No files matched your search
@@ -735,6 +735,10 @@ public class ContentLayout extends FrameLayout {
|
||||
return getPageForPosition(LayoutManagerUtils.getFirstVisibleItemPosition(mRecyclerView.getLayoutManager()));
|
||||
}
|
||||
|
||||
public int getPageForBottom() {
|
||||
return getPageForPosition(LayoutManagerUtils.getLastVisibleItemPosition(mRecyclerView.getLayoutManager()));
|
||||
}
|
||||
|
||||
public boolean canGoTo() {
|
||||
return isContentShowing();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user