Android Realm Abstract Class Instantiate
问题 I am trying to setup an AuotoCompleteTextview (in my MainActivity) where data is fetched from Realm database. So I'm using an adapter as following: public abstract class FilterableRealmBaseAdapter<T extends RealmObject> extends ArrayAdapter<T> implements Filterable { private final RealmResults<T> mRealmObjectList; private List<T> mResults; public FilterableRealmBaseAdapter(Context context, @LayoutRes int layout, RealmResults<T> realmObjectList) { super(context, layout); mRealmObjectList =