/* Ċ Ġ* ĠCopyright Ġ 2 0 2 2 ĠV ital iy ĠZ ar ub in Ċ Ġ* Ċ Ġ* ĠLicensed Ġunder Ġthe ĠApache ĠLicense , ĠVersion Ġ 2 . 0 Ġ( the Ġ" License "); Ċ Ġ* Ġyou Ġmay Ġnot Ġuse Ġthis Ġfile Ġexcept Ġin Ġcompliance Ġwith Ġthe ĠLicense . Ċ Ġ* ĠYou Ġmay Ġobtain Ġa Ġcopy Ġof Ġthe ĠLicense Ġat Ċ Ġ* Ċ Ġ* ĠĠĠĠ Ġhttp :// www . apache . org / licenses / LICENSE - 2 . 0 Ċ Ġ* Ċ Ġ* ĠUnless Ġrequired Ġby Ġapplicable Ġlaw Ġor Ġagreed Ġto Ġin Ġwriting , Ġsoftware Ċ Ġ* Ġdistributed Ġunder Ġthe ĠLicense Ġis Ġdistributed Ġon Ġan Ġ" AS ĠIS " ĠBASIS , Ċ Ġ* ĠWITHOUT ĠWARRANTIES ĠOR ĠCONDITIONS ĠOF ĠANY ĠKIND , Ġeither Ġexpress Ġor Ġimplied . Ċ Ġ* ĠSee Ġthe ĠLicense Ġfor Ġthe Ġspecific Ġlanguage Ġgoverning Ġpermissions Ġand Ċ Ġ* Ġlimitations Ġunder Ġthe ĠLicense . Ċ Ġ*/ Ċ package Ġcom . key gen qt . viewer . android . features . repos . navigation . graph . impl Ċ Ċ import Ġandroidx . compose . animation . Experimental Animation Api Ċ import Ġandroidx . h ilt . navigation . compose . h ilt ViewModel Ċ import Ġandroidx . navigation . Nav Graph Builder Ċ import Ġcom . key gen qt . viewer . android . base . App Actions Ċ import Ġcom . key gen qt . viewer . android . extensions . comp osable Animation Ċ import Ġcom . key gen qt . viewer . android . features . repos . navigation . route . Repos Nav Route Ċ import Ġcom . key gen qt . viewer . android . features . repos . ui . actions . Repo Actions Ċ import Ġcom . key gen qt . viewer . android . features . repos . ui . screens . repo . Repo Screen Ċ import Ġcom . key gen qt . viewer . android . features . repos . ui . view Models . Repo ViewModel Ċ Ċ /** Ċ Ġ* ĠNav Graph Ġfor Ġ[ Repo Screen ] Ċ Ġ*/ Ċ @ Opt In ( Experimental Animation Api :: class ) Ċ fun ĠNav Graph Builder . repo Graph ( ĊĠĠĠ Ġapp Actions : ĠApp Actions , Ċ ) Ġ{ ĊĠĠĠ Ġcomp osable Animation ( Repos Nav Route . repo . default . route ) Ġ{ ĊĠĠĠĠĠĠĠ Ġval ĠviewModel : ĠRepo ViewModel Ġ= Ġh ilt ViewModel () ĊĠĠĠĠĠĠĠ ĠRepo Screen ( viewModel Ġ= ĠviewModel ) Ġ{ Ġevent Ġ-> ĊĠĠĠĠĠĠĠĠĠĠĠ Ġwhen Ġ( event ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġis ĠRepo Actions . Action Update Repo Ġ-> ĠviewModel . update Repo () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġis ĠRepo Actions . ToUpdate Repo Ġ-> Ġapp Actions . to Repo Update ( event . id , Ġevent . url ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ } Ċ