I’m creating an Android chat application. I want chat screen to include features like a new UI screen for chat thread with a different user. But I don’t know to move further with it. Should I use service or asyntask or is there any other way. Please help me get started.
I’m creating an Android chat application. I want chat screen to include features like
Share
No. if you use each thread for each user, you will spawn many threads (memory, and time to create and clear…).
You should use a service to listen when receive message (this is an easy work by using intent), and you can do in your main UI Thread.