package Ġcom . h 1 0 0 0 0 b 8 4 . android . my book library . ui . scene . common Ċ Ċ import Ġcom . h 1 0 0 0 0 b 8 4 . android . my book library . model . Detail Book Ċ import Ġcom . h 1 0 0 0 0 b 8 4 . android . my book library . ui . base . Base Contract Ċ Ċ class ĠDetail Contract Ġ{ ĊĠĠĠ Ġinterface ĠView : ĠBase Contract . View Ġ{ ĊĠĠĠĠĠĠĠ Ġfun Ġshow Progress ( show : ĠBoolean ) ĊĠĠĠĠĠĠĠ Ġfun Ġshow ErrorMessage ( error : ĠString ) ĊĠĠĠĠĠĠĠ Ġfun Ġload Data Success ( detail Book : ĠDetail Book ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġinterface ĠPres enter : ĠBase Contract . Presenter < View > Ġ{ ĊĠĠĠĠĠĠĠ Ġfun Ġload Data ( isbn 1 3 : ĠString ) ĊĠĠĠĠĠĠĠ Ġfun Ġset Favorite ( is Favorite : ĠBoolean , Ġbook : ĠDetail Book ) ĊĠĠĠĠĠĠĠ Ġfun Ġcheck Favorite ( detail Book : ĠDetail Book ): ĠBoolean ĊĠĠĠ Ġ} Ċ }