fix [修复-个人主页-动态无法删除问题]
This commit is contained in:
parent
1d9930ed26
commit
b975e5864f
@ -117,6 +117,8 @@ public class UserCommunityAdapter extends RecyclerView.Adapter {
|
|||||||
more_del.setTag(bean);
|
more_del.setTag(bean);
|
||||||
if (isMe) {
|
if (isMe) {
|
||||||
more_del.setVisibility(View.VISIBLE);
|
more_del.setVisibility(View.VISIBLE);
|
||||||
|
} else {
|
||||||
|
more_del.setVisibility(View.INVISIBLE);
|
||||||
}
|
}
|
||||||
ImgLoader.display(mContext, bean.getUser_avatar(), mAvatar);
|
ImgLoader.display(mContext, bean.getUser_avatar(), mAvatar);
|
||||||
userName.setText(bean.getUser_name());
|
userName.setText(bean.getUser_name());
|
||||||
|
@ -56,7 +56,7 @@
|
|||||||
android:layout_height="30dp"
|
android:layout_height="30dp"
|
||||||
android:padding="4dp"
|
android:padding="4dp"
|
||||||
android:src="@mipmap/icon_active_more"
|
android:src="@mipmap/icon_active_more"
|
||||||
android:visibility="invisible" />
|
android:visibility="visible" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
@ -178,7 +178,6 @@ public class UserHomeActivity extends AbsActivity {
|
|||||||
}
|
}
|
||||||
initView();
|
initView();
|
||||||
getUseData();
|
getUseData();
|
||||||
getCommunityList();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void getCommunityList() {
|
private void getCommunityList() {
|
||||||
@ -447,6 +446,7 @@ public class UserHomeActivity extends AbsActivity {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
mBanner.start();
|
mBanner.start();
|
||||||
|
getCommunityList();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void initView() {
|
private void initView() {
|
||||||
|
Loading…
Reference in New Issue
Block a user