package Ġru . use desk . knowledge base _ gui . screens . articles Ċ Ċ import Ġandroidx . lifecycle . Mutable LiveData Ċ import Ġru . use desk . common _ gui . Use desk ViewModel Ċ import Ġru . use desk . knowledge base _ sdk . Use desk Knowledge Base Sdk Ċ import Ġru . use desk . knowledge base _ sdk . entity . Use desk Article Info Ċ Ċ internal Ġclass ĠArticles ViewModel Ġ: ĠUse desk ViewModel () Ġ{ ĊĊĠĠĠ Ġval Ġarticle InfoList LiveData Ġ= ĠMutable LiveData < List < Use desk Article Info > ?> () ĊĊĠĠĠ Ġfun Ġinit ( categoryId : ĠLong ) Ġ{ ĊĠĠĠĠĠĠĠ Ġdo It ( Use desk Knowledge Base Sdk . require Instance () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. get Articles Rx ( categoryId ), Ġon Value Ġ= Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġarticle InfoList LiveData . post Value ( it ) ĊĠĠĠĠĠĠĠ Ġ}) ĊĠĠĠ Ġ} Ċ }