I'm new to android and I'm having a lot of trouble finding help in some things, the example below is giving application in stopped I want to pass an obejto per parameter in the attempt however the putExtra
when commenting works by putting it in the code for application, I'm over already 3 hours looking on the internet and I can not find anything to help me!
Here is what I did,
LoginConfig loginConfig = new LoginConfig(Integer.parseInt(jsonObject.getString("id_identificador")),
jsonObject.getString("nome").toString(),
jsonObject.getString("email").toString(),
jsonObject.getString("telefone").toString());
Intent it = new Intent(this,MainActivity.class);
it.putExtra("login_config", (Serializable) loginConfig);
startActivity(it);