Dynamically I am creating the linear layout and adding the views to linear layout every 5 sec I need to update data to linear layout from database .
But When I checked the log output it is adding to linear layout but gui is not getting updated for every 5 sec. I am using scheduled fixed timer task .
What should i do ?
Dynamically I am creating the linear layout and adding the views to linear layout
Share
I agree w/ the other answer from Dimitar that you probably don’t want to do this with a linear layout.
However if you must, are you calling invalidate() on the LinearLayout after adding a new view to it?