1.已展开app列表,有app卸载或新任务安装时,下方已勾选误抢焦点的问题
This commit is contained in:
@@ -71,6 +71,7 @@ public class LocalFragment extends CategoryFragment {
|
||||
appBeanList.add(new LocalAppBean());
|
||||
mLocalAppAdapter.addDatas(appBeanList);
|
||||
}
|
||||
if(!isShowCustomApp()){
|
||||
gv_category_apps.getViewTreeObserver().addOnGlobalLayoutListener(new ViewTreeObserver.OnGlobalLayoutListener() {
|
||||
@Override
|
||||
public void onGlobalLayout() {
|
||||
@@ -86,6 +87,7 @@ public class LocalFragment extends CategoryFragment {
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
super.onResult(data);
|
||||
}
|
||||
|
||||
|
||||
@@ -69,6 +69,7 @@ public class MusicFragment extends CategoryFragment {
|
||||
appBeanList.add(new MusicAppBean());
|
||||
mMusicAppAdapter.addDatas(appBeanList);
|
||||
}
|
||||
if(!isShowCustomApp()){
|
||||
gv_category_apps.getViewTreeObserver().addOnGlobalLayoutListener(new ViewTreeObserver.OnGlobalLayoutListener() {
|
||||
@Override
|
||||
public void onGlobalLayout() {
|
||||
@@ -84,6 +85,7 @@ public class MusicFragment extends CategoryFragment {
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
super.onResult(data);
|
||||
}
|
||||
|
||||
|
||||
@@ -69,6 +69,7 @@ public class RecommendFragment extends CategoryFragment {
|
||||
appBeanList.add(new RecommendAppBean());
|
||||
mRecommendAppAdapter.addDatas(appBeanList);
|
||||
}
|
||||
if(!isShowCustomApp()){
|
||||
gv_category_apps.getViewTreeObserver().addOnGlobalLayoutListener(new ViewTreeObserver.OnGlobalLayoutListener() {
|
||||
@Override
|
||||
public void onGlobalLayout() {
|
||||
@@ -85,6 +86,7 @@ public class RecommendFragment extends CategoryFragment {
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
super.onResult(data);
|
||||
}
|
||||
|
||||
|
||||
@@ -69,6 +69,7 @@ public class VideoFragment extends CategoryFragment {
|
||||
appBeanList.add(new VideoAppBean());
|
||||
mVideoAppAdapter.addDatas(appBeanList);
|
||||
}
|
||||
if(!isShowCustomApp()){
|
||||
gv_category_apps.getViewTreeObserver().addOnGlobalLayoutListener(new ViewTreeObserver.OnGlobalLayoutListener() {
|
||||
|
||||
@Override
|
||||
@@ -85,6 +86,7 @@ public class VideoFragment extends CategoryFragment {
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
super.onResult(data);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user