android / android/architecture-samples

single live event, notify all observers

Open
#802 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
45.8k
Forks
11.9k
PR merge metrics
No merged PRs in 30d

Description

Hi,
thanks for the example but I have a problem
in SingleLiveEvent class there is a log that says "Multiple observers registered but only one will be notified of changes."
but what if we want to notify all observers?
in my scenario, I observed live data in 2 places and I want to notify all of them and also I need to treat it as an event

Contributor guide

Open the contributing guide

Research direction

The issue names SingleLiveEvent but provides no repository file, test, or concrete change. Start by locating that class and reviewing its current single-observer behavior; completion would require a decided API and tests showing one event delivered to both observers.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.