https://kotlinlang.org logo
#android
Title
# android
a

aaron_c

05/29/2017, 8:03 PM
@ontherunvaro Is it possible to convert a list to an Observable List?
w

walled

05/29/2017, 8:23 PM
aaron_c: What exactly do you mean by "Observable List"? A List wrapped in an rx Observable? So
rx.Observable<List<T>>
Or
android.databinding.ObservableList<T>
...or something else entirely?
a

aaron_c

05/29/2017, 8:25 PM
I'm new to this, I come from web dev so duing UI with Angular and Vuejs and such. you can bind elements to data. It appears that you can do something similar with the xml layouts, my goal would be to have a visual list generated it response to the contents and manipulation of the data set it's based on.
i

ihor.kucherenko

05/30/2017, 3:38 AM
In Kotlin you can use Observable delegate out of the box, without third-party libraries. You can read about this here: https://medium.com/proandroiddev/delegation-in-kotlin-e1efb849641
3 Views