mirror of
				https://github.com/TeamNewPipe/NewPipe
				synced 2025-10-29 22:32:59 +00:00 
			
		
		
		
	Disable suggestion list animations: not meaningful
The animations were just in the way and did not help in choosing items, since the suggestion items keep changing too much.
This commit is contained in:
		| @@ -340,6 +340,8 @@ public class SearchFragment extends BaseListFragment<SearchInfo, ListExtractor.I | |||||||
|         super.initViews(rootView, savedInstanceState); |         super.initViews(rootView, savedInstanceState); | ||||||
|  |  | ||||||
|         searchBinding.suggestionsList.setAdapter(suggestionListAdapter); |         searchBinding.suggestionsList.setAdapter(suggestionListAdapter); | ||||||
|  |         // animations are just strange and useless, since the suggestions keep changing too much | ||||||
|  |         searchBinding.suggestionsList.setItemAnimator(null); | ||||||
|         new ItemTouchHelper(new ItemTouchHelper.Callback() { |         new ItemTouchHelper(new ItemTouchHelper.Callback() { | ||||||
|             @Override |             @Override | ||||||
|             public int getMovementFlags(@NonNull final RecyclerView recyclerView, |             public int getMovementFlags(@NonNull final RecyclerView recyclerView, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Stypox
					Stypox