I\'ve looked at a few other answers for similar problems but don\'t understand why mine isn\'t working.
I\'m trying to get my app to read commands from Firebase and
you can use constructor oop normally like this
it's the same and no Error anymore
CommandObject command = new CommandObject(ds.child("").getValue()....
fill it and make sure your reference in firebase data should not be empty