python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Why is a wrapper necessary for a LiveData value?
I was looking at the JetSurvey project (Android Jetpack Compose sample project) and noticed that they created a class to wrap the LiveData value in their ViewModel class. Here is the class I'm talking...

ctkim
Votes: 0
Answers: 1
UI events from ViewModel to View in Android Java
I am trying for an elegant way to send an event from a ViewModel to a View in Android using Java. This would be for one shot events like for showing a toast. Android recommends to use MutableStateFlow...
braml1
Votes: 0
Answers: 0
How to call method from viewModel in service Android?
I got a service
class BubbleButtonService : Service(), View.OnTouchListener, View.OnClickListener
In that service I got a method that I want to call a method from the viewModel. I was trying to pass ...

Bob Redity
Votes: 0
Answers: 1
Flow is not working with Binding Adapters
For a particular Recycler View Item, If I select the Checkbox (tick it) then I need the text of its corresponding TextView to formatted as Strikethrough.
I am using Binding Adapters, Flow and Live Dat...
SVK
Votes: 0
Answers: 1