use of com.rideread.rideread.common.adapter.MsgUserAdapter in project ride-read-android by Ride-Read.
the class MsgActivity method initView.
@Override
public void initView() {
new TitleBuilder(this).setTitleText("消息").IsBack(true).setLeftOnClickListener(v -> finish()).build();
// final AVIMClient client = AVImClientManager.getInstance().getClient();
mMsgInfoList = new ArrayList<>();
layoutManager = new LinearLayoutManager(this);
mRecycleView.setLayoutManager(layoutManager);
mMsgUserAdapter = new MsgUserAdapter(this, mMsgInfoList);
mRecycleView.setAdapter(mMsgUserAdapter);
mSwipeRefreshLayout.setOnRefreshListener(() -> {
refreshMsgUserList();
});
refreshMsgUserList();
}
Aggregations