use of com.instructure.teacher.factory.AddMessagePresenterFactory in project instructure-android by instructure.
the class AddMessageFragment method getPresenterFactory.
@Override
protected PresenterFactory<AddMessagePresenter> getPresenterFactory() {
Conversation conversation = getArguments().getParcelable(Const.CONVERSATION);
ArrayList<BasicUser> participants = getArguments().getParcelableArrayList(KEY_PARTICIPANTS);
ArrayList<Message> messages = getArguments().getParcelableArrayList(Const.MESSAGE);
boolean isReply = getArguments().getBoolean(KEY_IS_REPLY, false);
return new AddMessagePresenterFactory(conversation, participants, messages, isReply);
}
Aggregations