---
title: "Discussion on \"How to execute any operations in an *Adapter or a *ViewHolder under the foreground activity's lifecyclescope?\" | Hashnode"
description: "Discussion on \"How to execute any operations in an *Adapter or a *ViewHolder under the foreground activity's lifecyclescope?\". How to execute any operations in an *Adapter or a *ViewHoler under the foreground activity's lifecyclescope?"
url: "https://hashnode.com/posts/how-to-execute-any-operations-in-an-adapter-or-a-viewholder-under-the-foreground-activitys-lifecyclescope/6281d87dbc9305ec39366361"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to execute any operations in an \*Adapter or a \*ViewHolder under the foreground activity's lifecyclescope?](https://rommansabbir.com/how-to-execute-any-operations-in-an-adapter-or-a-viewholder-under-the-foreground-activitys-lifecyclescope?utm_source=hashnode&utm_medium=feed)

How to execute any operations in an \*Adapter or a \*ViewHoler under the foreground activity's lifecyclescope?

May 16, 2022 · 1 min read · rommansabbir.com  
Updated May 5, 2023  
Read the article

-   [#android](https://hashnode.com/tag/android)
-   [#software-engineering](https://hashnode.com/tag/software-engineering)
-   [#coroutines](https://hashnode.com/tag/coroutines)
-   [#mvvm](https://hashnode.com/tag/mvvm)
-   [#dependency-injection](https://hashnode.com/tag/dependency-injection)

## Written by

[Romman Sabbir](https://hashnode.com/@rommansabbir)

@rommansabbir · Dhaka, Bangladesh

  
[View profile](https://hashnode.com/@rommansabbir)

An engineer with extensive Android experience | Kotlin, Spring Boot, Compose, Swift, Swift UI

Senior Android Engineer from Bangladesh. Love to contribute in Open-Source. Indie Music Producer.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
