Categories
Mastering Development

IndexOutOfBound Exception while setting the data in recyclerview from sqlite database

I am fetching data from sqlite and filling it into recyclerview, but while filling the data i am getting IndexOutOfBoundException in my logcat. Can anyone tell me why i am getting this exception ? Databasehelper class code: public class DatabaseHelper extends SQLiteOpenHelper { public static final String DATABASE_NAME = “history.db”; public static final String TABLE_NAME […]