Code example for TableRow

Methods: addViewsetGravity

0
    { 
        super.onBindDialogView( v );
        bindData(); 
    } 
 
    protected void onSetInitialValue( boolean restore, java.lang.Object defaultValue )
    { 
        super.onSetInitialValue( restore, defaultValue );
        if (restore) {
            try { 
                mValue = shouldPersist() ? getPersistedInt( mDefault ) : 0;
            } catch ( java.lang.Exception ex ) {
                mValue = mDefault;
            } 
        } else { 
            mValue = (java.lang.Integer) defaultValue;
        } 
    } 
 
    protected void onDialogClosed( boolean positiveResult )
    {