Code example for Bundle

Methods: putSerializable

0
	public void onSaveInstanceState(Bundle outState) {
       	mSequences.add(mCurrentSequence);
    	mCurrentSequence = new PointSequence();
		SignatureViewState s = new SignatureViewState();
		s.mSequences = mSequences;
		outState.putSerializable(mStateID, s);
	} 
	 
	private void doFullRedraw(Canvas canvas, Bitmap bitmap, boolean useAlpha, boolean redrawOnScreen) {
		if (canvas == null) {
			return; 
		} 
		 
        Paint paint = new Paint();
        paint.setAntiAlias(false);
         
        int a = (bgColor & 0xFF000000) >> 24;
	        	 
	    if (isTransparency) {    	
		    if (useAlpha) {
		    	bitmap.eraseColor(bgColor);