Android App Development
iOS App Development
Flutter App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 220.127.116.11 release ready!
Updated 16 June 2019
A ViewStub is an invisible, zero-sized View that can be used to lazily inflate layout resources at runtime.
When a ViewStub is made visible, or when inflate() is invoked, then layout resource is inflated. ViewStub replaces itself in its parent with the inflated View or Views. ViewStub exists in the view hierarchy until setVisibility(int) or inflate() is invoked.
You can reduce memory usage and speed up rendering by loading the views only when they are needed.
Define ViewStub in XML file
We can specify layout at run time (viewStub!!.layoutResource) or in XML layout (android: layout) attribute. A ViewStub can be load by using visible, or inflate().
Your email address will not be published. Required fields are marked*
Save my name email and website in this browser for the next time I comment.
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.