package Ġpro . k rit . f mp dao example . fragments Ċ Ċ import Ġandroidx . fragment . app . view Models Ċ import Ġcom . ras alex man . s result presentation . databinding . Base Binding Fragment Ċ import Ġpro . k rit . f mp dao example . R Ċ import Ġpro . k rit . f mp dao example . databinding . Fragment Main Binding Ċ Ċ class ĠMain Fragment Ġ: ĠBase Binding Fragment < Fragment Main Binding , ĠMain ViewModel >() Ġ{ ĊĊĠĠĠ Ġoverride Ġval Ġlayout Id : ĠInt ĊĠĠĠĠĠĠĠ Ġget () Ġ= ĠR . layout . fragment _ main ĊĊĠĠĠ Ġoverride Ġval ĠviewModel : ĠMain ViewModel Ġby Ġview Models () Ċ }