I am trying to start up an Intent from within a class which implements Serializable. I get a IOException which says "Parcelable encountered IOException wrinting Serializable object". This is what i am trying to do from within a method in the class implementing Serializable:
thisOffer = this;
row.setOnClickListener(new OnClickListener(){
@Override
public void onClick(View v) {
Intent intent = new Intent(applicationContext, ActivityOffer.class);
intent.putExtra("offer", thisOffer);
activity.startActivity(intent);
}
});
Everything works fine i take away the putExtra() method