Fix nested scrolling of download logs
This commit is contained in:
parent
938df7b7fa
commit
e9e4f82abc
|
@ -1,5 +1,6 @@
|
|||
package de.danoeh.antennapod.fragment;
|
||||
|
||||
import android.os.Build;
|
||||
import android.os.Bundle;
|
||||
import android.util.Log;
|
||||
import android.view.LayoutInflater;
|
||||
|
@ -79,6 +80,9 @@ public class DownloadLogFragment extends BottomSheetDialogFragment
|
|||
adapter = new DownloadLogAdapter(getActivity());
|
||||
viewBinding.list.setAdapter(adapter);
|
||||
viewBinding.list.setOnItemClickListener(this);
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
|
||||
viewBinding.list.setNestedScrollingEnabled(true);
|
||||
}
|
||||
EventBus.getDefault().register(this);
|
||||
return viewBinding.getRoot();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue