举报通知开发 完成
This commit is contained in:
parent
98343a2177
commit
9475acd585
BIN
common/src/main/res/mipmap-mdpi/icon_black_back.webp
Normal file
BIN
common/src/main/res/mipmap-mdpi/icon_black_back.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 336 B |
@ -63,6 +63,12 @@ public class ReportSecondActivity extends AbsActivity implements View.OnClickLis
|
|||||||
cancel_1 = findViewById(R.id.cancel_1);
|
cancel_1 = findViewById(R.id.cancel_1);
|
||||||
cancel_2 = findViewById(R.id.cancel_2);
|
cancel_2 = findViewById(R.id.cancel_2);
|
||||||
cancel_3 = findViewById(R.id.cancel_3);
|
cancel_3 = findViewById(R.id.cancel_3);
|
||||||
|
findViewById(R.id.btn_back).setOnClickListener(new View.OnClickListener() {
|
||||||
|
@Override
|
||||||
|
public void onClick(View v) {
|
||||||
|
finish();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
imageUtilInit();
|
imageUtilInit();
|
||||||
|
|
||||||
|
@ -65,7 +65,6 @@ public class SystemMessageActivity extends AbsActivity {
|
|||||||
// if ("".equals(nowUid)) {
|
// if ("".equals(nowUid)) {
|
||||||
mSystemMessageViewHolder = new SystemMessageViewHolder(mContext, (ViewGroup) findViewById(R.id.root), SystemMessageActivity.this);
|
mSystemMessageViewHolder = new SystemMessageViewHolder(mContext, (ViewGroup) findViewById(R.id.root), SystemMessageActivity.this);
|
||||||
mSystemMessageViewHolder.addToParent();
|
mSystemMessageViewHolder.addToParent();
|
||||||
mSystemMessageViewHolder.loadData();
|
|
||||||
// } else {
|
// } else {
|
||||||
// mSystemMessageViewHolder = new SystemMessageViewHolder(mContext, (ViewGroup) findViewById(R.id.root));
|
// mSystemMessageViewHolder = new SystemMessageViewHolder(mContext, (ViewGroup) findViewById(R.id.root));
|
||||||
// mSystemMessageViewHolder.addToParent();
|
// mSystemMessageViewHolder.addToParent();
|
||||||
@ -120,6 +119,15 @@ public class SystemMessageActivity extends AbsActivity {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void onResume() {
|
||||||
|
super.onResume();
|
||||||
|
if (mSystemMessageViewHolder != null){
|
||||||
|
mSystemMessageViewHolder.loadData();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onDestroy() {
|
protected void onDestroy() {
|
||||||
if (mSystemMessageViewHolder != null) {
|
if (mSystemMessageViewHolder != null) {
|
||||||
|
@ -382,6 +382,14 @@ public class SystemMessageViewHolder extends AbsViewHolder implements View.OnCli
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onResume() {
|
||||||
|
super.onResume();
|
||||||
|
if (mAdapter != null) {
|
||||||
|
mRefreshView.initData();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//非单聊列表适配
|
//非单聊列表适配
|
||||||
private void setSysApt() {
|
private void setSysApt() {
|
||||||
if (SystemMessageActivity.type.equals("1") || SystemMessageActivity.type.equals("4")) {
|
if (SystemMessageActivity.type.equals("1") || SystemMessageActivity.type.equals("4")) {
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
android:layout_marginTop="36dp"
|
||||||
android:id="@+id/titleView"
|
android:id="@+id/titleView"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="40dp"
|
android:layout_height="40dp"
|
||||||
@ -25,7 +26,7 @@
|
|||||||
android:layout_width="40dp"
|
android:layout_width="40dp"
|
||||||
android:layout_height="40dp"
|
android:layout_height="40dp"
|
||||||
android:padding="9dp"
|
android:padding="9dp"
|
||||||
android:src="@mipmap/icon_back"
|
android:src="@mipmap/icon_black_back"
|
||||||
app:layout_constraintTop_toTopOf="@id/titleView"
|
app:layout_constraintTop_toTopOf="@id/titleView"
|
||||||
app:layout_constraintBottom_toBottomOf="@id/titleView"
|
app:layout_constraintBottom_toBottomOf="@id/titleView"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
Loading…
Reference in New Issue
Block a user