package Ġcom . connect yc ube . messenger . utilities Ċ Ċ import Ġandroidx . lifecycle . Mutable LiveData Ċ import Ġcom . connect yc ube . core . Connect yc ube Progress Callback Ċ import Ġcom . connect yc ube . core . server . Perform er Ċ import Ġcom . connect yc ube . messenger . api . ApiResponse Ċ Ċ class ĠLive Data Response Perform er Progress < T , ĠR > Ġ: ĠLive Data Response Perform er < T , ĠR >() Ġ{ ĊĊĠĠĠ Ġlateinit Ġvar Ġprogress CallBack : ĠConnect yc ube Progress Callback ĊĊĠĠĠ Ġoverride Ġfun Ġperform ( perform er : ĠPerform er < T >, Ġconverter : ĠConverter < R , ĠT >): ĠMutable LiveData < ApiResponse < R >> Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġlive Data Ġ= Ġsuper . perform ( perform er , Ġconverter ) ĊĠĠĠĠĠĠĠ Ġprogress CallBack Ġ= ĠConnect yc ube Progress Callback Ġ{ Ġlive Data . post Value ( ApiResponse . create ( it )) Ġ} ĊĠĠĠĠĠĠĠ Ġreturn Ġlive Data ĊĠĠĠ Ġ} Ċ } Ċ