Code example for Parcel

Methods: readList

0
	} 
 
	private Document(Parcel in) {
		pages = new ArrayList<Page>();
 
		in.readList(pages, Page.class.getClassLoader());
	} 
 
	public List<Page> getPages() {
		return pages;
	} 
 
	public void addPage(Page page) {
		pages.add(page);
	} 
 
	public Page getPageAt(int index) {
		return pages.get(index);
	} 
 
Stop searching for code, let great code find you!  Add Codota to your java IDE