---
title: "Eugen Martynov (@emartynov) | Hashnode"
description: "Android and more. Read the latest articles by Eugen Martynov on Hashnode."
url: "https://hashnode.com/@emartynov"
---

@emartynov

# Eugen Martynov

@emartynov · Amsterdam, The Netherlands · Joined December 2021

Android and more

## Comments

[My first thought was that the provider would implement the activity lifecycle callback. So I would just have one line to register it. However, when you have multiple of them, maybe this is better so you can control the order of the calls or what is the intent?](https://hashnode.com/posts/using-an-activity-from-a-hilt-viewmodel/631914555abe8613b3d2f620/comment/631f50df526d775aa7f65966)

Comment · Article · Sep 12, 2022 · [Using an Activity from a Hilt ViewModel](https://hashnode.com/posts/using-an-activity-from-a-hilt-viewmodel/631914555abe8613b3d2f620)

[Unfortunately, context is enough in limited cases.](https://hashnode.com/posts/using-an-activity-from-a-hilt-viewmodel/631914555abe8613b3d2f620/comment/631eef1df73f4734bc05a4e4#reply-631f5079526d775aa7f65938)

Reply · Article · Sep 12, 2022 · [Using an Activity from a Hilt ViewModel](https://hashnode.com/posts/using-an-activity-from-a-hilt-viewmodel/631914555abe8613b3d2f620)
