|
Hello bluefloyd8
Array is not a dynamic data structures.
Instead of using an Array ... u can use ArrayList which is dynamic .. u dont have to worry about the size increment .. tht will be taken care.
This should work for you .......
ArrayList<ParsedSiteInfo> parsedInfo = new ArrayList<ParsedSiteInfo>();
private void createNewSite(){
this.parsedInfo.add(new ParsedSiteInfo());
}
|