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