java.lang.RuntimeException: Parcelable encountered IOException writing serializable object in Android passing ArrayList object
I want to pass my ArrayList object to another activity, using a DataWrapper that implements Serializable . I followed the answer provided here: Pass arraylist of user defined objects to Intent android . I am starting the another Activity from MPAndroidChart library PieChart 's OnChartGestureListener() . This is how I passed my ArrayList object threadList : mChart.setOnChartGestureListener(new OnChartGestureListener() { @Override public void onChartSingleTapped(MotionEvent me) { Intent intent = new Intent(MainActivity.this, TextersSmsActivity.class); intent.putExtra("threadList", new