package Ġcom . verse . app . verse app . features . send money . view Ċ Ċ import Ġio . reactivex . subjects . Publish Subject ĊĊ Ċ class ĠSplit Process Bus Ġ{ ĊĊĠĠĠ Ġprivate Ġobject ĠH older Ġ{ ĊĠĠĠĠĠĠĠ Ġval ĠINSTANCE Ġ= ĠSplit Process Bus () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġvar Ġfragment Event Subject : ĠPublish Subject < Split Process Void > Ġ= ĠPublish Subject . create < Split Process Void >() ĊĠĠĠ Ġvar Ġchange Title Event Subject : ĠPublish Subject < String > Ġ= ĠPublish Subject . create < String >() ĊĠĠĠ Ġvar Ġactivity Event Subject : ĠPublish Subject < Boolean > Ġ= ĠPublish Subject . create < Boolean >() ĊĠĠĠ Ġvar Ġbutton Event Subject : ĠPublish Subject < Split Process Void > Ġ= ĠPublish Subject . create < Split Process Void >() ĊĊĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġinstance : ĠSplit Process Bus Ġby Ġlazy Ġ{ ĠH older . INSTANCE Ġ} ĊĠĠĠ Ġ} ĊĊĊĠĠĠ Ġfun Ġupdate Fragment Text () Ġ{ ĊĠĠĠĠĠĠĠ Ġfragment Event Subject . onNext ( Split Process Void ()) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġupdate Title ( title : ĠString ) Ġ{ ĊĠĠĠĠĠĠĠ Ġchange Title Event Subject . onNext ( title ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġshow Button ( show : Boolean ) Ġ{ ĊĠĠĠĠĠĠĠ Ġactivity Event Subject . onNext ( show ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġon Button Clicked () Ġ{ ĊĠĠĠĠĠĠĠ Ġbutton Event Subject . onNext ( Split Process Void ()) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġclass ĠSplit Process Void Ġ{ ĊĊĠĠĠ Ġ} Ċ Ċ } ĊĊĊ