package Ġcom . alg ol ia . instant search . core . re lev ants ort Ċ Ċ import Ġcom . alg ol ia . instant search . core . connection . Connection Ċ import Ġcom . alg ol ia . instant search . core . re lev ants ort . internal . Re levant Sort Connection View Ċ Ċ /** Ċ Ġ* ĠCreate Ġa Ġconnection Ġbetween Ġa Ġview Ġand Ġthe Ġrelevant Ġsort Ġcomponents . Ċ Ġ* Ċ Ġ* Ġ@ param Ġview Ġthe Ġview Ġthat Ġwill Ġrender Ġrelevant Ġsort Ġtoggle Ċ Ġ* Ġ@ param Ġpresenter Ġdefines Ġthe Ġway Ġwe Ġwant Ġto Ġinteract Ġwith Ġa Ġpriority Ġvalue Ċ Ġ*/ Ċ public Ġfun Ġ< T > ĠRe levant Sort ViewModel . connect View ( view : ĠRe levant Sort View < T >, Ġpresenter : ĠRe levant Sort Presenter < T >): ĠConnection Ġ{ ĊĠĠĠ Ġreturn ĠRe levant Sort Connection View ( this , Ġview , Ġpresenter ) Ċ } Ċ Ċ /** Ċ Ġ* ĠCreate Ġa Ġconnection Ġbetween Ġa Ġview Ġand Ġthe Ġrelevant Ġsort Ġcomponents . Ċ Ġ* Ċ Ġ* Ġ@ param Ġview Ġthe Ġview Ġthat Ġwill Ġrender Ġrelevant Ġsort Ġtoggle Ċ Ġ*/ Ċ public Ġfun ĠRe levant Sort ViewModel . connect View ( view : ĠRe levant Sort Priority View ): ĠConnection Ġ{ ĊĠĠĠ Ġreturn Ġconnect View ( view ) Ġ{ Ġit Ġ} Ċ } Ċ