android - Difference between removing a view and setting it's visibility as GONE? -


what difference between removing view it's parent , setting it's visibility gone?

if remove view parent, no longer in list of children. can add other viewgroup. if loop through old paren't children won't come up, , won't called when viewgroup things resize itself.

if make gone, still child of viewgroup. can't added another, because can have 1 parent. still called things resizing of view group.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -