Realm dynamic schemas in Kotlin
I sadly spent much time with this but no success , we have a B2B Ecommerce app that allows users to sell their products , we want to store that data by categories in separates schemas, Each category has a different properties :
class PhoneModel : RealmObject {
@PrimaryKey
var _id: ObjectId = ObjectId.invoke()
var brand: String? = null
var os: String? = null
}
and .. u get the idea !!
class ParfumModel: RealmObject {
@PrimaryKey
var _id: ObjectId = ObjectId.invoke()...