From 53aebcfb1ed3f7937c94f4922086add02c1f4aee Mon Sep 17 00:00:00 2001 From: Wang Han <416810799@qq.com> Date: Tue, 3 Jan 2017 18:53:55 +0800 Subject: [PATCH] Fix MagiskHide Fragment Crash when freshing --- app/src/main/java/com/topjohnwu/magisk/MagiskHideFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/topjohnwu/magisk/MagiskHideFragment.java b/app/src/main/java/com/topjohnwu/magisk/MagiskHideFragment.java index 00ed18559..8f7164944 100644 --- a/app/src/main/java/com/topjohnwu/magisk/MagiskHideFragment.java +++ b/app/src/main/java/com/topjohnwu/magisk/MagiskHideFragment.java @@ -53,7 +53,7 @@ public class MagiskHideFragment extends Fragment { new LoadApps().exec(); }); - recyclerView.setAdapter(appAdapter); + recyclerView.swapAdapter(appAdapter, true); searchListener = new SearchView.OnQueryTextListener() { @Override