package Ġcom . wj x . android . wan android mv vm . module . question . viewModel Ċ Ċ import Ġandroidx . lifecycle . Mutable LiveData Ċ import Ġcom . wj x . android . wan android mv vm . module . common . view model . Article ViewModel Ċ import Ġcom . wj x . android . wan android mv vm . network . response . Base Response Ċ import Ġcom . wj x . android . wan android mv vm . module . question . question repository . Question Repository Ċ import Ġcom . wj x . android . wan android mv vm . module . question . model . Question Response Ċ Ċ /** Ċ Ġ* ĠCreated Ġwith ĠAndroid ĠStudio . Ċ Ġ* ĠDescription : Ċ Ġ* Ġ@ author : ĠWang jian x ian Ċ Ġ* Ġ@ date : Ġ 2 0 2 0 / 0 3 / 2 6 Ċ Ġ* ĠTime : Ġ 1 5 : 4 1 Ċ Ġ*/ Ċ Ċ class ĠQuestion ViewModel Ġ: ĊĠĠĠ ĠArticle ViewModel < Question Repository >() Ġ{ ĊĠĠĠ Ġvar Ġm Question Data : ĠMutable LiveData < Base Response < Question Response >> Ġ= ĠMutable LiveData () ĊĊĠĠĠ Ġfun Ġload Question List ( pageNum : ĠInt ) Ġ{ ĊĠĠĠĠĠĠĠ Ġm Repository . load Question List ( pageNum , Ġm Question Data ) ĊĠĠĠ Ġ} Ċ }