package Ġcom . le op old . mv vm . ui . bookmark Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġandroidx . annotation . Layout Res Ċ import Ġcom . le op old . mv vm . R Ċ import Ġcom . le op old . mv vm . databinding . Activity Bookmark Binding Ċ import Ġcom . le op old . mv vm . ui . Binding Activity Ċ import Ġorg . k oin . android x . view model . ext . android . get ViewModel Ċ Ċ /** Ċ Ġ* Ġ@ author ĠLe op old Ċ Ġ*/ Ċ class ĠBook mark Activity Ġ: ĠBinding Activity < Activity Bookmark Binding >() Ġ{ ĊĠĠĠ Ġ@ Layout Res ĊĠĠĠ Ġoverride Ġfun Ġget Layout Res Id () Ġ= ĠR . layout . activity _ bookmark ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĊĠĠĠĠĠĠĠ Ġbinding . vm Ġ= Ġget ViewModel () ĊĠĠĠĠĠĠĠ Ġbinding . set Lifecycle Owner ( this ) ĊĠĠĠ Ġ} Ċ }