mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-26 08:37:29 +00:00
Make AppBarLayout.LayoutParams toolbarLayoutParams final
This commit is contained in:
parent
247a2b4bf5
commit
6502bceb2e
@ -690,7 +690,7 @@ public class ProfileFragment extends Fragment implements SwipeRefreshLayout.OnRe
|
||||
|
||||
//Disable scrolling when profile has no posts
|
||||
if (profileModel.getMediaCount() == 0){
|
||||
AppBarLayout.LayoutParams toolbarLayoutParams = (AppBarLayout.LayoutParams) fragmentActivity.getCollapsingToolbarView().getLayoutParams();
|
||||
final AppBarLayout.LayoutParams toolbarLayoutParams = (AppBarLayout.LayoutParams) fragmentActivity.getCollapsingToolbarView().getLayoutParams();
|
||||
toolbarLayoutParams.setScrollFlags(0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user