Sep 7, 2022Sep 7, 2022 · 5 min read · 5.8K viewsUsing an Activity from a Hilt ViewModel👋 Hi, this is P.Y., I work as an Android Engineer at Block. This blog shares a bit of hackery to be able to access an activity instance within a Hilt ViewModel. If you come up with other interesting 5 min read · 5.8K views