Code example for Parcel

Methods: readIntreadParcelable

0
	private BitmapDrawable surface;
	private LibFreeRDP.UIEventListener uiEventListener;
	 
	public SessionState(Parcel parcel)
	{ 
		instance = parcel.readInt();
		bookmark = parcel.readParcelable(null);
 
		Bitmap bitmap = parcel.readParcelable(null);
		surface = new BitmapDrawable(bitmap);
	} 
	 
	public SessionState(int instance, BookmarkBase bookmark)
	{ 
		this.instance = instance;
		this.bookmark = bookmark;
		this.uiEventListener = null;
	} 
	 
	public void connect() { 
Stop searching for code, let great code find you!  Add Codota to your java IDE