Stfalcon Chatkit Library

Multi tool use
Stfalcon Chatkit Library
First and foremost I will appreciate if any one have any tutorial or walkthrough on how to implement chatkit android library by stfalcon.
My challenges are: How do I differentiate between the sender and the receiver if their is only one adapter and the sender or receiver is determined from there???
messagesList = (MessagesList) findViewById(R.id.messages_list);
adapter = new MessagesListAdapter(this.senderId, null);
messagesList.setAdapter(adapter);
Secondly can I have an explanation on the Model part? The UserModel is a bit confusing to me!
public class Message implements IMessage {
public String text;
public String id;
public Date createdAt;
public UserModel author = new UserModel();
public Message(String text, String id, Date createdAt) {
this.text = text;
this.id = id;
this.createdAt = createdAt;
}
@Override
public String getId() {
return id;
}
@Override
public String getText() {
return text;
}
@Override
public UserModel getUser() {
return author;
}
@Override
public Date getCreatedAt() {
return createdAt;
}
}
Pls don't be offended by my question!!! just a bit hard implementing this good library. Thank you.
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.