I wonder if the runnable passed to View.postDelayed will be automatically deleted when the view is separated from the parent.
It will be executed after the completion of the method. If you have an infinite loop in it, it will never be deleted, and therefore you will leak the view, and the Activity that uses this view
source share