T
T
Temirlan2016-04-20 11:28:11
Java
Temirlan, 2016-04-20 11:28:11

Am I thinking right?

Good day!
The task is this, you need to receive and send messages, and then display them beautifully, for example, as in VK applications for your phone or Skype. To display messages, I'll use LitVeiw , which will use the CollectionMessage collection of Message objects. The Message class will have a method that will accept messages and add them to the collection from the user and the Message sender. The question is whether it will be right? Maybe you can help with a link to an example) I didn’t do anything except a simple calculator).

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Malyarov, 2016-04-20
@Konstantin18ko

I would say your method is more correct.
I have personally used these methods . When the screen was rotated, the ListView was cleared, but this is being treated.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question