Code example for ArrayList

Methods: add

0
		columns.add("join_performance_3G.perf_menu_animations as performanceMenuAnimations3G");
		columns.add("join_performance_3G.perf_font_smoothing as performanceFontSmoothing3G");
		columns.add("join_performance_3G.perf_desktop_composition performanceDesktopComposition3G");
	}		 
	 
	protected BookmarkBase getBookmarkFromCursor(Cursor cursor)
	{ 
		BookmarkBase bookmark = createBookmark();		
		bookmark.setId(cursor.getLong(cursor.getColumnIndex("bookmarkId")));
		bookmark.setLabel(cursor.getString(cursor.getColumnIndex("label")));
		bookmark.setUsername(cursor.getString(cursor.getColumnIndex("username")));
		bookmark.setPassword(cursor.getString(cursor.getColumnIndex("password")));
		bookmark.setDomain(cursor.getString(cursor.getColumnIndex("domain")));
		readScreenSettings(bookmark, cursor);		
		readPerformanceFlags(bookmark, cursor);		
 
		// advanced settings 
		bookmark.getAdvancedSettings().setEnable3GSettings(cursor.getInt(cursor.getColumnIndex("enable_3g_settings")) == 0 ? false : true);		
		readScreenSettings3G(bookmark, cursor);		
		readPerformanceFlags3G(bookmark, cursor);		
		bookmark.getAdvancedSettings().setSecurity(cursor.getInt(cursor.getColumnIndex("security")));