mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-02 18:31:40 +00:00
Fix some lint problems
This commit is contained in:
parent
c5ad7f282e
commit
81581c623d
4 changed files with 133 additions and 162 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue