I am new to FIrebase and I have 2 problems with it that might be connected. First one is when saving my list of events.
//creating event TVEvent tvEvent = new TV
try to use
Map<String, String> data= (HashMap<String, String>)dataSnapshot.getValue();
instead of
GenericTypeIndicator<List<Event>> t = new GenericTypeIndicator<List<Event>>() {}; List<Event> list = messageSnapshot.getValue(t);