package Ġcom . mo kel ab . tools . shortcut . pages . main Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroidx . core . content . pm . Shortcut Info Compat Ċ import Ġandroidx . core . content . pm . Shortcut Manager Compat Ċ import Ġandroidx . h ilt . lifecycle . ViewModel Inject Ċ import Ġandroidx . lifecycle . LiveData Ċ import Ġandroidx . lifecycle . Mutable LiveData Ċ import Ġandroidx . lifecycle . ViewModel Ċ import Ġandroidx . lifecycle . live Data Ċ import Ġdagger . h ilt . android . qual ifiers . ApplicationContext Ċ Ċ class ĠMain ViewModel Ġ@ ViewModel Inject Ġconstructor ( ĊĠĠĠ Ġ@ ApplicationContext Ġprivate Ġval Ġcontext : ĠContext Ċ ) Ġ: ĠViewModel () Ġ{ ĊĠĠĠ Ġval Ġshort C uts Ġ= ĠMutable LiveData < List < Shortcut Info Compat >>() ĊĊĠĠĠ Ġfun Ġfetch () Ġ{ ĊĠĠĠĠĠĠĠ Ġshort C uts . value Ġ= ĠShort cut Manager Compat . get Dynamic Shortcut s ( context ) ĊĠĠĠ Ġ} ĊĊ Ċ }