package Ġcom . adam k ob us . compose . navigation . p oc . mult in av host . green . ui . dialog Ċ Ċ import Ġcom . adam k ob us . android . vm . Lifecycle Aware ViewModel Ċ import Ġcom . adam k ob us . compose . navigation . Navigation Consumer Ċ import Ġcom . adam k ob us . compose . navigation . p oc . mult in av host . green . nav . Green Graph Ċ import Ġdagger . h ilt . android . lifecycle . H ilt ViewModel Ċ import Ġjavax . inject . Inject Ċ Ċ @ H ilt ViewModel Ċ class ĠGreen Dialog VM Ġ@ Inject Ġconstructor ( ĊĠĠĠ Ġprivate Ġval Ġnavigation Consumer : ĠNavigation Consumer Ċ ) Ġ: ĠLifecycle Aware ViewModel () Ġ{ ĊĊĠĠĠ Ġval Ġinteractions Ġ= ĠGreen Dialog Interactions ( ĊĠĠĠĠĠĠĠ Ġon Dismiss Clicked Ġ= Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġnavigation Consumer . offer ( Green Graph . Dialog . pop ()) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ) Ċ } Ċ