use of com.tutuanle.chatapp.adapters.ChatAdapter in project Chat-app by TuTuanLe.
the class ChatScreenActivity method init.
private void init() {
preferenceManager = new PreferenceManager(getApplicationContext());
chatMessages = new ArrayList<>();
customizeChat = new CustomizeChat();
chatAdapter = new ChatAdapter(chatMessages, getBitmapFromEnCodedString(receiverUSer.getProfileImage()), preferenceManager.getString(Constants.KEY_USER_ID));
binding.chatRecyclerView.setAdapter(chatAdapter);
database = FirebaseFirestore.getInstance();
}
Aggregations