diff --git a/main/src/main/java/com/yunbao/main/adapter/MainMeAdapter.java b/main/src/main/java/com/yunbao/main/adapter/MainMeAdapter.java index eca6c42f7..a6e7b800f 100644 --- a/main/src/main/java/com/yunbao/main/adapter/MainMeAdapter.java +++ b/main/src/main/java/com/yunbao/main/adapter/MainMeAdapter.java @@ -130,7 +130,11 @@ public class MainMeAdapter extends RecyclerView.Adapter { mName.setText(bean.getName()); if (MainActivity.messageNumber > 0 && bean.getId() == 101){ message_redpoint.setVisibility(View.VISIBLE); - message_redpoint.setText(String.valueOf(MainActivity.messageNumber)); + if (MainActivity.messageNumber > 99){ + message_redpoint.setText("99+"); + }else { + message_redpoint.setText(String.valueOf(MainActivity.messageNumber)); + } }else { message_redpoint.setVisibility(View.GONE); }