package Ġcom . ch un . anime . ui . fragment Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġandroid . view . LayoutInflater Ċ import Ġandroid . view . View Ċ import Ġandroid . view . ViewGroup Ċ import Ġcom . ch un . anime . databinding . Fragment Search Ac Binding Ċ import Ġcom . ch un . anime . ui . adapter . Search Ac Fragment Adapter Ċ import Ġcom . ch un . anime . ui . base . fragment . Base Fragment Ċ import Ġcom . google . android . material . tabs . Tab Layout Mediator Ċ import Ġdagger . h ilt . android . Android EntryPoint Ċ Ċ @ Android EntryPoint Ċ class ĠSearch Result Pager Fragment Ġ: ĠBase Fragment < Fragment Search Ac Binding >() Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġsetup Views ( view : ĠView , ĠsavedInstanceState : ĠBundle ?) Ġ= ĠUnit ĊĊĠĠĠ Ġoverride Ġfun Ġbind Data ( view : ĠView , ĠsavedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġadapter Ġ= ĠSearch Ac Fragment Adapter ( this ) ĊĠĠĠĠĠĠĠ Ġbinding . view Pager . adapter Ġ= Ġadapter ĊĠĠĠĠĠĠĠ Ġbinding . view Pager . off screen Page Limit Ġ= Ġ 4 ĊĠĠĠĠĠĠĠ ĠTab Layout Mediator ( binding . tab Layout , Ġbinding . view Pager ) Ġ{ Ġtab , Ġposition Ġ-> ĊĠĠĠĠĠĠĠĠĠĠĠ Ġtab . text Ġ= Ġadapter . getPage Title ( position ) ĊĠĠĠĠĠĠĠ Ġ}. attach () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġprovide View Binding ( in flater : ĠLayoutInflater , Ġcontainer : ĠViewGroup ?) Ġ= ĊĠĠĠĠĠĠĠ ĠFragment Search Ac Binding . inflate ( in flater , Ġcontainer , Ġfalse ) Ċ } Ċ