Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
added in version 1.0.0
belongs to Maven artifact androidx.viewpager:viewpager:1.0.0-rc01

ViewPager.DecorView

public static abstract @interface ViewPager.DecorView
implements Annotation

androidx.viewpager.widget.ViewPager.DecorView


Annotation which allows marking of views to be decoration views when added to a view pager.

Views marked with this annotation can be added to the view pager with a layout resource. An example being PagerTitleStrip.

You can also control whether a view is a decor view but setting ViewPager.LayoutParams.isDecor on the child's layout params.

Summary

Inherited methods