public AlConversationAdapter(Context context, List<Message> mList) { super(context, mList); this.context = context; messageProperties = new AlMessageProperties(context); }
public ConversationViewHolder(View view) { super(view); alphabeticImage = view.findViewById(R.id.alphabeticImage); profileImage = view.findViewById(R.id.contactImage); receiverName = view.findViewById(R.id.smReceivers); messageTv = view.findViewById(R.id.message); unreadCount = view.findViewById(R.id.unreadSmsCount); createdAtTime = view.findViewById(R.id.createdAtTime); attachmentIcon = view.findViewById(R.id.attachmentIcon); properties = new AlMessageProperties(context); uiService = new AlUIService(context); view.setOnClickListener(this); view.setOnCreateContextMenuListener(this); }