Skip to content

Instantly share code, notes, and snippets.

@alkjez
Last active September 22, 2020 17:02
Show Gist options
  • Save alkjez/84d349b97f8d338abf108ec443d752ac to your computer and use it in GitHub Desktop.
Save alkjez/84d349b97f8d338abf108ec443d752ac to your computer and use it in GitHub Desktop.
public class MessageListAdapter extends RecyclerView.Adapter {
private Context mContext;
private List<BaseMessage> mMessageList;
public MessageListAdapter(Context context, List<BaseMessage> messageList) {
mContext = context;
mMessageList = messageList;
}
}
@mohammadeslim22
Copy link

what is the BaseMessage class ?

@mohammadeslim22
Copy link

what is it ??????? the basemessage ?

@carlosalexandresmo
Copy link

Hello @mohammadeslim22,

BaseMessage is class from SDK SendBird Android.
Add compile in build.gradle from SDK SendBird to build a class.

@mohammadeslim22
Copy link

carlosalexandresm thank you
but how can i use it
when i copied the code i have error in that part (Base Message)

@nknilesh46
Copy link

carlosalexandresm thank you
but how can i use it
when i copied the code i have error in that part (Base Message)

compile 'com.sendbird.sdk:sendbird-android-sdk:3.0.27'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment