View Pager App Bar View
open class ViewPagerAppBarView @JvmOverloads constructor(context: Context, attributeSet: AttributeSet? = null) : AppBarView
A base view class that extends AppBarView and embeds a ViewPager2 to display multiple swipeable suggestion pages.
Each page within the ViewPager represents a distinct suggestion, which can be individually configured and dismissed. The view’s components—including the ViewPager and its indicator—are managed by the associated ViewPagerAppBarModel.
The background and indicator colors of the ViewPager can be customized via theme attributes to match the app’s appearance.
Parameters
context
The context in which the view is running, providing access to resources, themes, and more.
attribute Set
The set of attributes from XML used to inflate the view, or null if created programmatically.