How to get the response of an activity called an ArrayAdapter class?

0

I have activity ActLevantamento , where I created a custom layout using a class inherited from ArrayAdapter , class AtributoArrayAdapter .

In this custom layout, I have a button, and in calling this button I call the activity ActPlantaEncontrada . The idea is to edit / insert values in ActPlantaEncontrada and return these values for my AtributoArrayAdapter item. If it was an activity calling another activity I could use startActivityForResult() and get the return on the onActivityResult() method, but it is not possible.

How to do this?

Below the class of the AttributeArrayAdapter class where I call the activity to edit / insert the values. Editing is not yet implemented.

 Intent it = new Intent(context, ActPlantaEncontrada.class);
                    it.putExtra(Constants.PARAM_PERFIL_NOME, avh.stPerfilNome);
                    getContext().startActivity(it);
    
asked by anonymous 10.06.2016 / 23:35

0 answers