package Ġcom . h azz . cow . mvp . presenter ĊĊ Ċ import Ġcom . h azz . cow . mvp . contract . I Contract View Ċ import Ġcom . h azz . cow . mvp . model . In Com ing Ċ import Ġcom . h azz . cow . net . Base Presenter Ċ import Ġcom . h azz . cow . net . Base Result Ċ import Ġcom . h azz . cow . net . Callback Ċ import Ġcom . h azz . cow . net . Ret rofit Manager ĊĊ Ċ class ĠIncoming Presenter ( view : ĠI Contract View . Sh ou yi View ) Ġ: ĠBase Presenter < I Contract View . Sh ou yi View >( view ) Ġ{ ĊĊĠĠĠ Ġfun Ġsh ou yi ( boolean : ĠBoolean ) Ġ{ ĊĊĊĊĠĠĠĠĠĠĠ Ġval Ġlogin Ġ= ĠRet rofit Manager . service . in Com ing () ĊĊĠĠĠĠĠĠĠ Ġdo Request ( login , Ġobject Ġ: ĠCallback < In Com ing >( view ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġoverride Ġfun Ġfailed ( t Base Result : ĠBase Result < In Com ing >): ĠBoolean Ġ{ ĊĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġreturn Ġfalse ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠĠĠĠĠĠĠĠĠ Ġoverride Ġfun Ġsuccess ( t Base Result : ĠBase Result < In Com ing >) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġview . in Com ing ( t Base Result . data !! ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠĠĠĠĠ Ġ}, Ġboolean ) ĊĊĠĠĠ Ġ} Ċ Ċ }