package Ġcom . github . m arch erd ie go . swipe compare . ui . mvp . presenter Ċ Ċ import Ġandroid . view . MenuItem Ċ import Ġcom . ner dsc or ner . mvp lib . events . presenter . Base Activity Presenter Ċ Ċ import Ġcom . github . m arch erd ie go . swipe compare . ui . mvp . model . Cross hair Swipe Model Ċ import Ġcom . github . m arch erd ie go . swipe compare . ui . mvp . view . Cross hair Swipe View Ċ import Ġcom . github . m arch erd ie go . swipe compare . ui . mvp . view . Cross hair Swipe View . Combined Controls CheckedChanged Event Ċ import Ġorg . green robot . event bus . Subscribe Ċ Ċ class ĠCross hair Swipe Presenter ( view : ĠCross hair Swipe View , Ġmodel : ĠCross hair Swipe Model ) Ġ: ĊĠĠĠ ĠBase Activity Presenter < Cross hair Swipe View , ĠCross hair Swipe Model >( view , Ġmodel ) Ġ{ ĊĠĠĠĠĊĠĠĠ Ġ@ Subscribe ĊĠĠĠ Ġfun Ġon Combined Controls CheckedChanged ( event : ĠCom bined Controls CheckedChanged Event ) Ġ{ ĊĠĠĠĠĠĠĠ Ġview . set Unified Controls ( event . isChecked ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġon Options ItemSelected ( item : ĠMenuItem ?): ĠBoolean Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġwhen Ġ( item ?. itemId ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġandroid . R . id . home Ġ-> Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġview . activity ?. finish () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġtrue ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠĠĠĠĠ Ġelse Ġ-> Ġsuper . on Options ItemSelected ( item ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ } Ċ