mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-26 16:47:30 +00:00
Merge branch 'master' of https://github.com/austinhuang0131/instagrabber
This commit is contained in:
commit
bedae1804f
@ -458,9 +458,11 @@ public class FeedFragment extends Fragment implements SwipeRefreshLayout.OnRefre
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void scrollToTop() {
|
public void scrollToTop() {
|
||||||
|
if (binding != null) {
|
||||||
binding.feedRecyclerView.smoothScrollToPosition(0);
|
binding.feedRecyclerView.smoothScrollToPosition(0);
|
||||||
// binding.storiesContainer.setExpanded(true);
|
// binding.storiesContainer.setExpanded(true);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private boolean isSafeToNavigate(final NavController navController) {
|
private boolean isSafeToNavigate(final NavController navController) {
|
||||||
return navController.getCurrentDestination() != null
|
return navController.getCurrentDestination() != null
|
||||||
|
Loading…
Reference in New Issue
Block a user