Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,12 @@ public void onResume() {
@Override
public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) {
super.onViewCreated(view, savedInstanceState);
// Ensure pull-to-refresh only triggers when the list is truly at top
swipeRefreshLayout.setOnChildScrollUpCallback((parent, child) ->{
// If the RecyclerView can scroll up, don't allow SwipeRefreshLayout to intercept (no refresh)
return recyclerView != null && recyclerView.canScrollVertically(-1);
});

setupBackButtonRedirectToAllFiles();
}

Expand Down