Because it keeps the child in minuscule firebase, even though my properties are in upper case
mActividadReferencia.child(Actividad.getActividadID()).setValue(Actividad, new DatabaseReference.CompletionListener() {
@Override
public void onComplete(DatabaseError databaseError, DatabaseReference databaseReference) {
if(databaseError != null)
{
exito=true;
}
else
{
exito=false;
}
}
});
POJO
public class Actividad {
private String ActividadID;
private String CustomerID;
private String Kunnr;
private String Descripcion;
private String CodUsuario;
private Date FechaIniPlan;
private Date FechaFinPlan;
private Date FechaIniReal;
private Date FechaFinReal;
private Double LatitudPlan;
private Double LongitudPlan;
private Double LatitudReal;
private Double LongitudReal;
private Date FechaCrea;
private String Observacion;
private String Estado;
private String MotivoNoActividad;
public Actividad() {
}
I would thank you very much for your help, and if there any to to infring your child in capitals without a map.