0

enter image description here Intent.putExtra Error

I have no idea whats happening in my program. I've tried parcelable, serializable, CharSequence & String.valueOf to avoid the error but it crash when I debuging run this line every time.

I check out most tutorial using same method but no error founded, What is the problem and how can I fix this.

Thank you.

Pratik Tank
  • 2,213
  • 1
  • 17
  • 29

1 Answers1

0

object can't be put in extras directly it have to serialize then pass to intend you can use this https://www.mkyong.com/java/how-do-convert-java-object-to-from-json-format-gson-api/

Aashutosh Kumar
  • 183
  • 4
  • 12