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