📜  viewmodelfactory kotlin 代码示例

📅  最后修改于: 2022-03-11 14:53:34.180000             🧑  作者: Mango

代码示例1
public class MyViewModel extends ViewModel {
    private final MyRepo myrepo;
    public MyViewModel(MyRepo myrepo) {
         this.myrepo = myrepo;
    }
}