Issue
I must use this code on my android Project but I can't find it in Android.
I google it and find there is "android.databind.ObservableArrayList" but in Android Studio I can't find it.
private ObservableList<Urunler> data = FXCollections.observableArrayList();
Solution
To use ObservableArrayList
you need to download the library from the Support repository in the Android SDK manager.
To configure your app to use data binding, add the dataBinding
element to your build.gradle file in the app module.
Use the following code snippet to configure data binding:
dataBinding {
enabled = true
}
after that you will be able to use ObservableArrayList
in Android Studio
Answered By - hvar90