Fix some lint problems

This commit is contained in:
CappielloAntonio committed 2021-04-27 11:47:23 +02:00
1 parent c5ad7f282e
commit 81581c623d
4 files changed
+133 -162

No files matched your search

@@ -171,10 +171,8 @@ public class MainActivity extends BaseActivity {
public void onStateChanged(@NonNull View view, int state) {
switch (state) {
case BottomSheetBehavior.STATE_SETTLING | BottomSheetBehavior.STATE_COLLAPSED:
Log.i(TAG, "onStateChanged: IS_SETTLING | IS_COLLAPSING");
PlayerBottomSheetFragment playerBottomSheetFragment = (PlayerBottomSheetFragment) getSupportFragmentManager().findFragmentByTag("PlayerBottomSheet");
if (playerBottomSheetFragment == null) break;
playerBottomSheetFragment.scrollOnTop();
break;
case BottomSheetBehavior.STATE_HIDDEN: