Okay, guys, consider this as a "hands up". I'm failing to make it work. I'm failing to wrap my head around it.
I consider chat UI as a number of 9patch objects that:
1. Go up and down all together (i.e. scroll);
2. Being created on the go as user scrolls back into history.
Kinda managed to make them move, but failing miserably to load new messages.
I have an Array which is a messaging history, and thus code is supposed to check where user is (how far he scrolled) and interpolate this value to Array, get next message and spawn 9patch in proper coords. And that's a dead end for.
Google is full of "how to make chat using %some framework%" but logic description is nowhere to find.
Can anybody suggest something?