Android Question Canvas paint persistence?


Active Member
Licensed User
Longtime User
Dear all, I would like to know if I paint a canvas that is initialized to a panel, will repaint be needed if the panel is invisible and visible again like programming in Windows? For instance, I draw something on each panel item of the xcustomlistview, if some items scroll out the UI and scroll in again should I manage to repaint? or the situation like bring the activity to background and bring it foreground again. Is it a good practice to put imageview on the panel and draw on the imageview to persist the paint? Thanks. (sorry if asked, searched with no results)