package Ġcom . th om ask io ko . st arg azer . browse . ui Ċ Ċ import Ġandroidx . paging . Paging Data Ċ import Ġcom . th om ask io ko . st arg azer . core . presentation . View Action Ċ import Ġcom . th om ask io ko . st arg azer . core . presentation . ViewState Ċ import Ġcom . th om ask io ko . st arg az ers . common . model . Repo View DataModel Ċ Ċ sealed Ġclass ĠSearch Action Ġ: ĠView Action Ġ{ ĊĠĠĠ Ġobject ĠBack Pressed Ġ: ĠSearch Action () ĊĠĠĠ Ġdata Ġclass ĠSearch Repository ( val Ġquery : ĠString ) Ġ: ĠSearch Action () ĊĠĠĠ Ġdata Ġclass ĠNavigate To Repo Detail Screen ( val Ġrepo Id : ĠLong ) Ġ: ĠSearch Action () Ċ } Ċ Ċ internal Ġsealed Ġclass ĠSearch ViewState Ġ: ĠView State Ġ{ ĊĠĠĠ Ġobject ĠInit Ġ: ĠSearch ViewState () ĊĠĠĠ Ġobject ĠLoading Ġ: ĠSearch ViewState () ĊĠĠĠ Ġdata Ġclass ĠSuccess ( val Ġlist : ĠP aging Data < Repo View DataModel >) Ġ: ĠSearch ViewState () ĊĠĠĠ Ġdata Ġclass ĠError ( val Ġmessage : ĠString Ġ= Ġ"") Ġ: ĠSearch ViewState () Ċ } Ċ