<How to getting value from Serializable class in k...
# stackoverflow
u
How to getting value from Serializable class in kotlin? I have a fragment which is handling objects. so i need to send the values Instance to OnCreateview() so i want to convert my serializable form, so i create these class with getter/setter BeanDemo.kt class BeanDemo : Serializable { var MyAppDatabase: AppDatabase ? = null constructor() { } //secoutry constructor constructor(appDatabase: AppDatabase){ this. MyAppDatabase = appDatabase Log.d("appDatabase : Bean", "appDatabase$appDatabase") }...