取消我的小红点
This commit is contained in:
parent
61821aee63
commit
ee4926719f
@ -702,11 +702,11 @@ public class MainActivity extends AbsActivity implements MainAppBarLayoutListene
|
|||||||
MainHttpUtil.getBaseInfo(new CommonCallback<UserBean>() {
|
MainHttpUtil.getBaseInfo(new CommonCallback<UserBean>() {
|
||||||
@Override
|
@Override
|
||||||
public void callback(UserBean bean) {
|
public void callback(UserBean bean) {
|
||||||
if (bean.getUserInfoComplete() == 0) {
|
// if (bean.getUserInfoComplete() == 0) {
|
||||||
v_table_redpoint_me.setVisibility(View.VISIBLE);
|
// v_table_redpoint_me.setVisibility(View.VISIBLE);
|
||||||
} else {
|
// } else {
|
||||||
v_table_redpoint_me.setVisibility(View.GONE);
|
// v_table_redpoint_me.setVisibility(View.GONE);
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -1570,11 +1570,11 @@ public class MainActivity extends AbsActivity implements MainAppBarLayoutListene
|
|||||||
//红点(我的)
|
//红点(我的)
|
||||||
@Subscribe(threadMode = ThreadMode.MAIN)
|
@Subscribe(threadMode = ThreadMode.MAIN)
|
||||||
public void onCompleteInformationEvent(CompleteInformationEvent event) {
|
public void onCompleteInformationEvent(CompleteInformationEvent event) {
|
||||||
if (event.isCompleteInformation()) {
|
// if (event.isCompleteInformation()) {
|
||||||
v_table_redpoint_me.setVisibility(View.VISIBLE);
|
// v_table_redpoint_me.setVisibility(View.VISIBLE);
|
||||||
} else {
|
// } else {
|
||||||
v_table_redpoint_me.setVisibility(View.GONE);
|
// v_table_redpoint_me.setVisibility(View.GONE);
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -155,7 +155,7 @@
|
|||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
app:layout_constraintBottom_toBottomOf="@+id/btn_phone"
|
app:layout_constraintBottom_toBottomOf="@+id/btn_phone"
|
||||||
app:layout_constraintEnd_toEndOf="@+id/btn_phone"
|
app:layout_constraintEnd_toEndOf="@+id/btn_phone"
|
||||||
app:layout_constraintHorizontal_bias="0.46"
|
app:layout_constraintHorizontal_bias="0.42"
|
||||||
app:layout_constraintStart_toEndOf="@+id/accountImg"
|
app:layout_constraintStart_toEndOf="@+id/accountImg"
|
||||||
app:layout_constraintTop_toTopOf="@+id/btn_phone" />
|
app:layout_constraintTop_toTopOf="@+id/btn_phone" />
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user