Reputation: 1350
My android layout contains text fields that are populated upon opening the app.
The problem i'm having is layout doesn't redraw with the refreshed view until i press the text input box. The text fields populate immediately on touch. How do i ensure the layout is refreshed automatically?
Upvotes: 1
Views: 57
Reputation: 43738
To make a view redraw itself call invalidate
on it. But a TextView should do that automatically if the text is changed.
Upvotes: 2