Yuri
08/03/2017, 9:13 PMremove(int position) method
class RealmList<E extends RealmModel> extends AbstractList<E> implements OrderedRealmCollection<E>
overrides public E remove(int index) method from AbstractList
When I’m trying to call it from kotlin I get compilation error as remove method resolves to MutableCollections.kt where it is deprecated with Error level
val list = RealmList<Smth>()
list.remove(0)
Error:(31, 19) Using 'remove(Int): T' is an error. Use removeAt(index) instead.
Is this a bug and is there any workaround for the issue?