package Ġcom . t bu onom o . dots indicator sample . view pager Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġandroidx . core . view . Window Compat Ċ import Ġcom . t bu onom o . dots indicator sample . Base Activity Ċ import Ġcom . t bu onom o . dots indicator sample . R Ċ import Ġcom . t bu onom o . dots indicator sample . databinding . Activity ViewPager Binding Ċ Ċ class ĠView Pager Activity Ġ: ĠBase Activity < Activity ViewPager Binding >() Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġget View Binding (): ĠActivity ViewPager Binding Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠActivity ViewPager Binding . inflate ( layout Inflater ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĠĠĠĠĠĠĠ ĠWindow Compat . set Decor Fits System Windows ( window , Ġfalse ) ĊĠĠĠĠĠĠĠ ĠsetContentView ( R . layout . activity _ view _ pager ) ĊĊĠĠĠĠĠĠĠ Ġwith ( binding . view Pager ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġadapter Ġ= ĠDot Indicator Pager Adapter () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġset Page Transformer ( true , ĠZoom Out Page Transformer ()) ĊĊĠĠĠĠĠĠĠĠĠĠĠ Ġbinding . dots Indicator . set ViewPager ( this ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġbinding . spring Dot s Indicator . set ViewPager ( this ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġbinding . w orm Dot s Indicator . set ViewPager ( this ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ } Ċ