package Ġcom . alg ol ia . instant search . core . number . range . internal Ċ Ċ import Ġcom . alg ol ia . instant search . core . Callback Ċ import Ġcom . alg ol ia . instant search . core . connection . Connection Impl Ċ import Ġcom . alg ol ia . instant search . core . number . range . Number Range View Ċ import Ġcom . alg ol ia . instant search . core . number . range . Number Range ViewModel Ċ import Ġcom . alg ol ia . instant search . core . number . range . Range Ċ Ċ internal Ġdata Ġclass ĠNumber Range Connection View < T >( ĊĠĠĠ Ġprivate Ġval ĠviewModel : ĠNumber Range ViewModel < T >, ĊĠĠĠ Ġprivate Ġval Ġview : ĠNumber Range View < T > Ċ ) Ġ: ĠConnection Impl () Ġwhere ĠT Ġ: ĠNumber , ĠT Ġ: ĠComparable < T > Ġ{ ĊĊĠĠĠ Ġprivate Ġval Ġupdate Bounds : ĠCallback < Range < T > ?> Ġ= Ġ{ Ġbounds Ġ-> ĊĠĠĠĠĠĠĠ Ġview . setBounds ( bounds ) ĊĠĠĠ Ġ} ĊĠĠĠ Ġprivate Ġval Ġupdate Range : ĠCallback < Range < T > ?> Ġ= Ġ{ Ġrange Ġ-> ĊĠĠĠĠĠĠĠ Ġview . set Range ( range ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġconnect () Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . connect () ĊĠĠĠĠĠĠĠ ĠviewModel . bounds . subscribe Past ( update Bounds ) ĊĠĠĠĠĠĠĠ ĠviewModel . range . subscribe Past ( update Range ) ĊĠĠĠĠĠĠĠ Ġview . on Range Changed Ġ= Ġ( viewModel . event Range :: send ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġdisconnect () Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . disconnect () ĊĠĠĠĠĠĠĠ ĠviewModel . bounds . unsubscribe ( update Bounds ) ĊĠĠĠĠĠĠĠ ĠviewModel . range . unsubscribe ( update Range ) ĊĠĠĠĠĠĠĠ Ġview . on Range Changed Ġ= Ġnull ĊĠĠĠ Ġ} Ċ } Ċ