I tried to create chat app that every message submitted will be pushed upside. I’m using scrollView to handle the message history but when there are about 10 items, it stuck!! I tried submit number 1 to 10 each line but I cannot scroll to see number 1 in the first line. This is my assumption, I observed that every time I pushed up each line element, the first line’s y coordinate will decrease until it’s lower than 0. But I don’t know how to fix it.
Any help would be appreciated.
Thanks