TextView mess = find...(R.id...); intent.putExtra("mess", mess); context.startActivity(intent); 

An empty value is passed instead of an object. What should I do? and .. it's an adapter. I create a new intent from the adapter, connect a fragment in the new intent

  • 2
    Why do you pass textview? Pass the text contained in it - Likhanov
  • I apologize for the inaccuracy of the issue. I need to change Fragment after I inserted it into the activation. Fragment's text - andrey
  • you are doing something wrong ... In your case, you can pass the id your view . But this is a very bad practice - Jarvis_J
  • one
    Game create. You need to have 2 separate text messages, and in the intent to transfer only text value between them - Alexander Chernin
  • so how to do that? - andrey

0