package Ġv mode v . clear keep . factories . view models Ċ Ċ import Ġandroidx . lifecycle . ViewModel Provider Ċ import Ġv mode v . clear keep . factories . view models . interfaces . ID irect Message Fragment ViewModel Factory Ċ import Ġv mode v . clear keep . fragments . Interfaces . ID irect Message Fragment Ċ import Ġv mode v . clear keep . view models . interfaces . Abstract Direct Message Fragment ViewModel Ċ import Ġjavax . inject . Inject Ċ Ċ class ĠDirect Message Fragment ViewModel Factory Ġ@ Inject Ġconstructor ( fragment : ĠID irect Message Fragment , Ġfactory : ĠViewModel Provider . Factory ) Ġ: ĠID irect Message Fragment ViewModel Factory Ġ{ ĊĠĠĠ Ġprivate Ġval ĠviewModel Ġ= ĠViewModel Provider ( fragment . get Fragment (), Ġfactory ). get ( Abstract Direct Message Fragment ViewModel :: class . java ) ĊĠĠĠ Ġoverride Ġfun Ġget ViewModel (): ĠAbstract Direct Message Fragment ViewModel Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠviewModel ; ĊĠĠĠ Ġ} Ċ }