0

I have an arraylist of cutom class like below:

public class Struct
{    
    String Name = "";  
    String Password = "";  
    String id = "";  
}  

and i am using this as an array like below:

ArrayList<Struct> list = new ArrayList<Struct>();  

I have added entries in the array list but now i tried to save it as a txt file on android but it give me Serializable Exception

Anybody can help me in this regard that how can i save this array list as a file ??

Noman
  • 4,049
  • 10
  • 38
  • 59

0 Answers0