相关文章推荐
淡定的松树  ·  2. 指令 | Microsoft Learn·  1 年前    · 
潇洒的机器猫  ·  解决Node.js ...·  1 年前    · 
Here my Scenario, i have listing my data in recycler list view, when user click on the item i need to send the data to another activity, so using Bundle to send data, able to get the data and displaying, but this is not happening for only one item, while sending through the intent data are there, but while receiving, get intent becomes null and throws an error as "android.os.BadParcelableException"
What I have tried:
i have tried many answers from stackoverflow below links
android - BadParcelableException - BroadcastReceiver intent crash - Stack Overflow [ ^ ]
android - "BadParcelableException: ClassNotFoundException when unmarshalling <myclass>" while using Parcel.read method that has a ClassLoader as argument - Stack Overflow [ ^ ]
  • Read the question carefully.
  • Understand that English isn't everyone's first language so be lenient of bad spelling and grammar.
  • If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Insults are not welcome.
  • Don't tell someone to read the manual. Chances are they have and don't get it. Provide an answer or move on to the next question. Let's work to help developers, not make them feel stupid.
  •