Code example for Parcel

Methods: readIntreadParcelable

	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() { 
Connect your IDE to all the code out there  Get Codota for Java