package Ġcom . q ing me i 2 . sample . ui . main . profile Ċ Ċ import Ġandroidx . fragment . app . Fragment Ċ import Ġandroidx . lifecycle . LiveData Ċ import Ġandroidx . lifecycle . Mutable LiveData Ċ import Ġandroidx . lifecycle . ViewModel Ċ import Ġandroidx . lifecycle . ViewModel Provider Ċ import Ġcom . q ing me i 2 . architecture . core . base . view model . Base ViewModel Ċ import Ġdagger . h ilt . android . lifecycle . H ilt ViewModel Ċ import Ġjavax . inject . Inject Ċ Ċ @ H ilt ViewModel Ċ class ĠProfile ViewModel Ġ@ Inject Ġconstructor ( ĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġrepo : ĠProfile Repository Ċ ) Ġ: ĠBase ViewModel () Ġ{ ĊĊĠĠĠ Ġprivate Ġval Ġ_ view State LiveData : ĠMutable LiveData < Profile ViewState > Ġ= ĠMutable LiveData ( Profile ViewState . initial ()) ĊĠĠĠ Ġval Ġview State LiveData : ĠLive Data < Profile ViewState > Ġ= Ġ_ view State LiveData Ċ }