| | |
| | | import com.google.gson.Gson; |
| | | import com.google.gson.GsonBuilder; |
| | | import com.google.gson.reflect.TypeToken; |
| | | import com.tejia.lijin.app.util.downutil.StringUtils; |
| | | import com.wpc.library.content.ConnectivityChangeHelper; |
| | | import com.wpc.library.okhttp.OkHttpUtils; |
| | | import com.wpc.library.util.NetUtils; |
| | |
| | | srl_user_message.setColorSchemeColors(getResources().getColor(R.color.theme)); |
| | | |
| | | String title = getIntent().getStringExtra("title"); |
| | | title= StringUtils.isNullOrEmpty(title)?"消息":title; |
| | | tv_middle.setText(title); |
| | | |
| | | if (title.equals("邀请消息")) { |
| | |
| | | } else if (title.equals("其它消息") || title.equals("账号消息")) { |
| | | tv_no_data_hint.setText("主人,我这里空空如也~"); |
| | | iv_no_data.setImageDrawable(getResources().getDrawable(R.drawable.ic_msg_other_null)); |
| | | }else{ |
| | | tv_no_data_hint.setText("暂无消息"); |
| | | } |
| | | |
| | | MessageCustomEvent.msgItemClick(UserMessageActivity.this, title); |