Android : Whats the point of ViewStub when I can also lazily inflate a view without it?

on Sunday, July 6, 2014


After reading the docs, I'm not sure what ViewStub accomplish that I cannot with creating a XML with a View and then inflating it at run time.


The Doc says use ViewStub to inflate views at run time. I'm not sure why this is useful other than syntax is a little easier.


Or am I totally wrong about this?


0 comments:

Post a Comment