use of com.cometchat.pro.uikit.ui_components.shared.cometchatReaction.model.Reaction in project android-java-chat-push-notification-app by cometchat-pro.
the class Extensions method getInitialReactions.
public static List<Reaction> getInitialReactions(int i) {
List<Reaction> randomReaction = new ArrayList<>();
List<Reaction> fetchedReaction = ReactionUtils.getFeelList();
for (int k = 0; k < i; k++) {
Reaction reaction = fetchedReaction.get(k);
randomReaction.add(reaction);
}
return randomReaction;
}
use of com.cometchat.pro.uikit.ui_components.shared.cometchatReaction.model.Reaction in project android-java-chat-push-notification-app by cometchat-pro.
the class ReactionUtils method getFeelList.
public static List<Reaction> getFeelList() {
List<Reaction> resultList = new ArrayList<>();
for (int i = 0; i < feel.length; i++) {
Reaction reaction = new Reaction(feel[i], i);
resultList.add(reaction);
}
return resultList;
}
Aggregations