PlaceHolderViewBuilder
PlaceHolderView configuration
This class defines the various configurable properties of the PlaceHolderView.
Default:
Cache size is 10
Fixed size is false
Following LayoutManagers are supported
- LinearLayoutManager
- GridLayoutManager
- StaggeredGridLayoutManager
Example:
placeHolderView.getBuilder()
.setHasFixedSize(false)
.setItemViewCacheSize(10)
.setLayoutManager(new LinearLayoutManager(
context,
LinearLayoutManager.HORIZONTAL,
false));