1、修复发布动态--》选择图片可能闪退bug
This commit is contained in:
parent
9a72e54ca3
commit
c582376cc4
@ -226,6 +226,9 @@ public class MainHomeCommunityViewHolder extends AbsMainHomeChildViewHolder impl
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void setValueCallback2(Uri[] results) {
|
public void setValueCallback2(Uri[] results) {
|
||||||
|
if (results == null){
|
||||||
|
return;
|
||||||
|
}
|
||||||
BaseFragment fragment = fragments.get(viewPager.getCurrentItem());
|
BaseFragment fragment = fragments.get(viewPager.getCurrentItem());
|
||||||
if (fragment instanceof MainHomeCommunityFragment) {
|
if (fragment instanceof MainHomeCommunityFragment) {
|
||||||
if (((MainHomeCommunityFragment) fragment).mValueCallback2 == null) {
|
if (((MainHomeCommunityFragment) fragment).mValueCallback2 == null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user