/* Ċ Ġ* ĠCopyright ĠÂ© Ġ 2 0 2 1 ĠR ong Cloud . ĠAll Ġrights Ġreserved . Ċ Ġ*/ Ċ Ċ package Ġcn . r ong cloud . vo ic ero om demo . mvp . fragment . vo ic ero om . member list Ċ Ċ import Ġandroid . util . Log Ċ import Ġcn . r ong cloud . vo ic ero om demo . R Ċ import Ġcn . r ong cloud . vo ic ero om demo . common . Account Store Ċ import Ġcn . r ong cloud . vo ic ero om demo . mvp . fragment . Base Bottom Sheet Dialog Fragment Ċ import Ġcn . r ong cloud . vo ic ero om demo . mvp . fragment . vo ic ero om . member setting . I Member Setting View Ċ import Ġcn . r ong cloud . vo ic ero om demo . mvp . fragment . vo ic ero om . member setting . Member Setting Fragment Ċ import Ġcn . r ong cloud . vo ic ero om demo . net . api . bean . respond . Voice Room Bean Ċ import Ġcn . r ong cloud . vo ic ero om demo . ui . u im odel . Ui Member Model Ċ import Ġkotlinx . android . synt hetic . main . layout _ member _ list .* Ċ Ċ /** Ċ Ġ* Ġ@ author Ġg usd Ċ Ġ* Ġ@ Date Ġ 2 0 2 1 / 0 6 / 1 6 Ċ Ġ*/ Ċ private Ġconst Ġval ĠTAG Ġ= Ġ" Member List Fragment " Ċ Ċ class ĠMember List Fragment ( ĊĠĠĠ Ġview : ĠI Member ListView , ĊĠĠĠ Ġprivate Ġval Ġmember Setting View : ĠI Member Setting View , ĊĠĠĠ Ġprivate Ġval Ġroom Info Bean : ĠVoice Room Bean Ċ ) Ġ: ĊĠĠĠ ĠBase Bottom Sheet Dialog Fragment < Member List Presenter , ĠI Member ListView >( R . layout . layout _ member _ list ), ĊĠĠĠ ĠI Member ListView Ġby Ġview { ĊĊĊĠĠĠ Ġoverride Ġfun Ġinit Presenter (): ĠMember List Presenter Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠMember List Presenter ( this , Ġrequire Context (), Ġroom Info Bean ) ĊĠĠĠ Ġ} ĊĊĊĠĠĠ Ġoverride Ġfun Ġinit Data () Ġ{ ĊĠĠĠĠĠĠĠ Ġpresenter . get Member List () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġinit Listener () Ġ{ ĊĠĠĠĠĠĠĠ Ġiv _ close . setOnClickListener Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġdismiss () ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġis FullScreen (): ĠBoolean Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġtrue ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġinit View () Ġ{ ĊĠĠĠĠĠĠĠ Ġrv _ member _ list . adapter Ġ= ĠMember ListAdapter Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠLog . d ( TAG , Ġ" item ĠonClick : Ġ$ it ") ĊĠĠĠĠĠĠĠĠĠĠĠ Ġif Ġ( Account Store . getUserId () Ġ== Ġit . userId ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ// Ġ çĤ¹åĩ» èĩªå·± ä¸į åģļ ä»»ä½ķ åıį åºĶ ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġreturn @ Member ListAdapter ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠĠĠĠĠ ĠMember Setting Fragment ( member Setting View , Ġroom Info Bean , Ġit , false ). show ( child FragmentManager ) ĊĊĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġshow Member List ( data : ĠList < Ui Member Model > ?) Ġ{ ĊĠĠĠĠĠĠĠ ĠLog . d ( TAG , Ġ" show Member List : Ġ$ data ") ĊĠĠĠĠĠĠĠ Ġrv _ member _ list . post Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġdata ?. let Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ( rv _ member _ list . adapter Ġas ? ĠMember ListAdapter )?. refresh Data ( data ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ Ċ }