package Ġhu . sz to mek . wh eres my buddy . presentation . screens . landing . people . requests . outgoing Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġandroid . view . View Ċ import Ġhu . sz to mek . wh eres my buddy . R Ċ import Ġhu . sz to mek . wh eres my buddy . presentation . common . adapter . Base RecyclerView Adapter Ċ import Ġhu . sz to mek . wh eres my buddy . presentation . model . persist able . Pending Requests Model Ċ import Ġhu . sz to mek . wh eres my buddy . presentation . router . I Router Ċ import Ġhu . sz to mek . wh eres my buddy . presentation . screens . landing . people . common . Base People Fragment Ċ import Ġjavax . inject . Inject Ċ Ċ class ĠOut going Requests Fragment Ġ: ĠBase People Fragment < Pending Requests Model , ĠOut going Requests ViewModel >() Ġ{ ĊĊĠĠĠ Ġ@ Inject ĊĠĠĠ Ġlateinit Ġvar Ġrouter : ĠI Router ĊĠĠĠ Ġ@ Inject ĊĠĠĠ Ġlateinit Ġvar Ġoutgoing Requests Adapter : ĠOut going Requests Adapter ĊĊĠĠĠ Ġoverride Ġvar Ġadapter : ĠBase RecyclerView Adapter ĊĠĠĠĠĠĠĠ Ġget () Ġ= Ġoutgoing Requests Adapter ĊĠĠĠĠĠĠĠ Ġset ( value ) Ġ{} ĊĊĠĠĠ Ġoverride Ġval Ġtitle Res : ĠInt ĊĠĠĠĠĠĠĠ Ġget () Ġ= ĠR . string . tab _ outgoing ĊĊĠĠĠ Ġoverride Ġfun Ġget Layout Id (): ĠInt Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠR . layout . fragment _ incoming _ requests ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġget ViewModel Class (): ĠClass < Outgoing Requests ViewModel > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠOut going Requests ViewModel :: class . java ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġtrigger Search ( name Filter : ĠString ?, Ġlast Id : ĠString ?, Ġfrom Last Id : ĠBoolean ) Ġ{ ĊĠĠĠĠĠĠĠ ĠviewModel . trigger Search ( name Filter , Ġlast Id , Ġfrom Last Id ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġload More ( name Filter : ĠString ?, Ġlast Id : ĠString ?) Ġ{ ĊĠĠĠĠĠĠĠ ĠviewModel . load More ( name Filter , Ġlast Id ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġon View Created ( view : ĠView , ĠsavedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . on View Created ( view , ĠsavedInstanceState ) ĊĠĠĠĠĠĠĠ Ġoutgoing Requests Adapter . click Listener Ġ= Ġobject : ĠOut going Requests Adapter . Outgoing Request ClickListener Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġoverride Ġfun Ġon Profile Clicked ( profile Id : ĠString ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġrouter . to Profile ( profile Id ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠĠĠĠĠĠĠĠĠ Ġoverride Ġfun Ġon Cancel Clicked ( requestId : ĠString ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠviewModel . cancel Request ( requestId ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ Ċ }