There is a method in java called canvas.repaint(), but there is no such method in Android. Can you please tell me how may I supposed to implement that method in Android? I want my current screen to be repainted/refreshed.
I tried invalidate/postInvalidate but couldn't accomplish the same as I am creating views dynamically using JSON and not using .xml files.
If I create my own repaint() method then what should I write in that method? Thank you in advance.