hi just a quick question , where are Obervables usually put in a kotlin android app ?
o
Oscar Sequeiros
03/25/2020, 2:44 AM
Hi. What do you mean? In wich layer?
u
182630g
03/25/2020, 2:45 AM
yes where should i code it ?
k
kyleg
03/25/2020, 4:45 AM
Personally I never use them. I use LiveData instead. And I construct LiveData in service (i.e., Room repository), viewmodel (so view can react), and view layers (I’m playing with this as a concept to feed UI interactions back to my viewmodel by just calling