i have problem to save my arraylist. I want to save my arraylist when application destroy or change intent or change orientation:
public class AuditContainer implements Serializable {
private Paint mPaint;
private Path mPath;
private int x,y;
private String text;
boolean is_text;
First i tried saving in file, but Paint class isn't Serializable class. Second i try with onSaveInstanceState(Bundle outState) / onRestoreInstanceState(Bundle savedInstanceState) but i could not save Arraylist and third i try with database but there isnt any types of Paint, Path ... If anyone have got suggestion for me, i will be very happy.