package Ġco . zs mb . rain bow cake . demo . ui . bar Ċ Ċ import Ġco . zs mb . rain bow cake . base . Rain bow Cake ViewModel Ċ import Ġjavax . inject . Inject Ċ Ċ class ĠBar ViewModel Ġ@ Inject Ġconstructor ( ĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġbar Presenter : ĠBar Presenter Ċ ) Ġ: ĠR ain bow Cake ViewModel < Bar ViewState >( Bar ViewState ()) Ġ{ ĊĊĠĠĠ Ġfun Ġload () Ġ= Ġexecute Ġ{ ĊĠĠĠĠĠĠĠ Ġview State Ġ= ĠBar ViewState ( bar Presenter . getData ()) ĊĠĠĠ Ġ} Ċ Ċ } Ċ