How to retrieve 'double' values saved under one key in Firebase?
问题 I have stored Geofire coordinates in database and now I'm trying to retrieve them using childEventListener() like this: mDatabase.child("geofire").child(key).child("l").addChildEventListener(new ChildEventListener() { @Override public void onChildAdded(DataSnapshot dataSnapshot, String s) { if (dataSnapshot.getValue() != null) { //error on line below Map<Double, Double> newRequest = (Map<Double, Double>) dataSnapshot.getValue(); venueLatString = newRequest.get(0).toString(); venueLngString =