[Android] [PATCH 0/3] Keep search filter on screen rotation

Romain Vimont rom at rom1v.com
Tue Nov 7 18:34:44 CET 2017


The search filter was cleared on screen rotation:
<https://code.videolan.org/videolan/vlc-android/issues/404>

The first commit removes some code duplication.

The second commit changes the search behavior for small query strings.

The last implements the state save/restore to keep the search filter on screen
rotation.

Romain Vimont (3):
  Remove identical overridden implementation
  Clear list filter on small search query string
  Keep search filter on screen rotation

 .../src/org/videolan/vlc/gui/ContentActivity.java  | 32 ++++++++++++++++++++--
 .../src/org/videolan/vlc/gui/MainActivity.java     | 12 --------
 .../videolan/vlc/gui/video/VideoGridFragment.java  |  2 +-
 .../videolan/vlc/gui/video/VideoListAdapter.java   |  4 +++
 4 files changed, 34 insertions(+), 16 deletions(-)

-- 
2.11.0



More information about the Android mailing list