title: Can't convert object of type java.lang.String to type com.rafaquarta.whatsapp.model.Usuario
body: <p>The program works fluently on start, but after I mistakenly remove the database, there began the error dumbing. Really I don't understand why ?. The error code is </p>
  
  <pre><code> Process: com.rafaquarta.whatsapp, PID: 6886
      com.google.firebase.database.DatabaseException: Can't convert object of type java.lang.String to type com.rafaquarta.whatsapp.model.Usuario
          at com.google.firebase.database.core.utilities.encoding.CustomClassMapper.convertBean(com.google.firebase:firebase-database@@19.2.0:435)
          at com.google.firebase.database.core.utilities.encoding.CustomClassMapper.deserializeToClass(com.google.firebase:firebase-database@@19.2.0:231)
          at com.google.firebase.database.core.utilities.encoding.CustomClassMapper.convertToCustomClass(com.google.firebase:firebase-database@@19.2.0:79)
          at com.google.firebase.database.DataSnapshot.getValue(com.google.firebase:firebase-database@@19.2.0:203)
          at com.rafaquart
  </code></pre>
  
  <p>And the code where I face the issue is</p>
  
  <pre><code> valueEventListenerContatos = usuariosRef.addValueEventListener(new ValueEventListener() {
              @Override
              public void onDataChange(@NonNull DataSnapshot dataSnapshot) {
  
                  limparListaContatos();
  
                  for(DataSnapshot dados: dataSnapshot.getChildren()){
  
  
                      Usuario usuario = dados.getValue(Usuario.class);
  
                      String emailUsuarioAtual = usuarioAtual.getEmail();
                      if(!emailUsuarioAtual.equals(usuario.getEmail())){
                          listaContatos.add(usuario);
                      }
  
                  }
  
                  adapter.notifyDataSetChanged();
              }
  
              @Override
              public void onCancelled(DatabaseError databaseError) {
  
              }
          });
  </code></pre>
  
  <p>In this code, I face error in</p>
  
  <pre><code>Usuario usuario = dados.getValue(Usuario.class);
  </code></pre>
  
  <p>The database:</p>
  
  <p><img src="https://i.ibb.co/4gg0y5k/Capture.jpg" alt=""></p>
  
  <p>If anyone know any solution please help. I'm in a situation here. Why the error I don't understand. I checked 
  <a href="https://stackoverflow.com/questions/59122830/com-google-firebase-database-databaseexception-cant-convert-object-of-type-jav?noredirect=1&amp;lq=1">com.google.firebase.database.DatabaseException: Can&#39;t convert object of type java.lang.String to type models.firebase.FirebaseTripDataHolder</a></p>
  
  <p>and this
  <a href="https://stackoverflow.com/questions/51156959/cant-convert-object-of-type-java-lang-string?noredirect=1&amp;lq=1">link</a></p>
  
  <p>If anyone knows any solution please help me. </p>