(a)Smack New Method Suggestion.

Discussion created by ITr1ckst3rI on Nov 29, 2014
Latest reply on Dec 1, 2014 by Flow

Class MultiUserChat

public list<Packet> getPreviousMessages(int Amount){

list<Packet> messages = new List<Packet>();

//logic to obtain messages and add to list using int to get a specific amount of messages

return messages;



This would mainly be helpful to devs on android. When rotating the screen you lose the listview containing all previous messages. Leaving and rejoining the room will do this but you have to leave everytime the screen is rotated.


thoughts flow?