<How to observe LiveData inside Custom View> How s...
# stackoverflow
u
How to observe LiveData inside Custom View How should I observe a LiveData in a Custom View. I tried to cast it's context as lifecycleOwner but it makes some problems and doesn't work in all cases. I tried to put a setter but it doesn't work either