iam using below mentioned code for returning all the columns from Realm database. but i want to fetch only First name & Age column data from same table. Kindly help me to achieve this. thanks in advance.
RealmResults<Data>data1=realm2.where(Data.class).findAll();
for (Data DatamNew :data1)
{
arrayList.add(DatamNew);
}
from read all data from two specific column in Realm Database (Android)
No comments:
Post a Comment