package Ġcom . wj x . android . wan android mv vm . module . rank . view model Ċ Ċ import Ġandroidx . lifecycle . Mutable LiveData Ċ import Ġcom . wj x . android . wan android mv vm . base . view model . Base ViewModel Ċ import Ġcom . wj x . android . wan android mv vm . network . response . Base Response Ċ import Ġcom . wj x . android . wan android mv vm . module . rank . model . Integral History ListResponse Ċ import Ġcom . wj x . android . wan android mv vm . module . rank . model . Integral Response Ċ import Ġcom . wj x . android . wan android mv vm . module . rank . model . Rank Response Ċ import Ġcom . wj x . android . wan android mv vm . module . rank . repository . Rank Repository Ċ Ċ /** Ċ Ġ* ĠCreated Ġwith ĠAndroid ĠStudio . Ċ Ġ* ĠDescription : Ċ Ġ* Ġ@ author : ĠWang jian x ian Ċ Ġ* Ġ@ Create Date : Ġ 2 0 2 0 / 3 / 2 9 Ġ 1 8 : 1 3 Ċ Ġ*/ Ċ class ĠRank ViewModel Ġ: ĠBase ViewModel < Rank Repository >() Ġ{ ĊĠĠĠ Ġval Ġm Rank List Data : ĠMutable LiveData < Base Response < Rank Response >> Ġ= ĠMutable LiveData () ĊĠĠĠ Ġval Ġm Me Rank Info : ĠMutable LiveData < Base Response < Integral Response >> Ġ= ĠMutable LiveData () ĊĠĠĠ Ġval Ġm Integral History List Data : ĠMutable LiveData < Base Response < Integral History ListResponse >> Ġ= ĊĠĠĠĠĠĠĠ ĠMutable LiveData () ĊĊĠĠĠ Ġfun Ġload Rank List ( pageNum : ĠInt ) Ġ{ ĊĠĠĠĠĠĠĠ Ġm Repository . load Rank List ( pageNum , Ġm Rank List Data ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġload Me Rank Info () Ġ{ ĊĠĠĠĠĠĠĠ Ġm Repository . load Me Rank Info ( m Me Rank Info ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġload Integral History List ( pageNum : ĠInt ) Ġ{ ĊĠĠĠĠĠĠĠ Ġm Repository . load Integral History List ( pageNum , Ġm Integral History List Data ) ĊĠĠĠ Ġ} Ċ }