fix [修复-个人主页-动态无法删除问题]

This commit is contained in:
hch 2024-03-28 15:49:11 +08:00
parent 1d9930ed26
commit b975e5864f
3 changed files with 4 additions and 2 deletions

View File

@ -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());

View File

@ -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>

View File

@ -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() {