0

I was reading the documentation of TinyDB -:

  TinyDB tinydb = new TinyDB(this);
    ArrayList questionsStatusArrayList = new ArrayList<QuestionsStatus>();
    tinydb.putListObject("MyQestionsData", questionsStatusArrayList);

for getting back the list they are using -:

   public ArrayList<Object> getListObject(String key, Class<?> mClass)

What is -: Class mClass . What is expected there?

pranav shukla
  • 353
  • 4
  • 15

1 Answers1

2

That expects any type of Class. Problably in your example a QuestionsStatus.class.

Rando Hinn
  • 1,255
  • 19
  • 41