Build 1.0_r1(from source)

android.widget
Interface DoubleDigitManager.CallBack

Enclosing class:
DoubleDigitManager

static interface DoubleDigitManager.CallBack

The callback to indicate what is going on with the digits pressed.


Method Summary
 void singleDigitFinal(int digit)
          A single digit was pressed, and it is 'the final answer'.
 boolean singleDigitIntermediate(int digit)
          A digit was pressed, and there are no intermediate digits.
 boolean twoDigitsFinal(int digit1, int digit2)
          The user pressed digit1, then digit2 within the timeout.
 

Method Detail

singleDigitIntermediate

boolean singleDigitIntermediate(int digit)
A digit was pressed, and there are no intermediate digits.

Parameters:
digit - The digit pressed.
Returns:
Whether the digit was accepted; how the user of this manager tells us that the intermediate digit is acceptable as an intermediate digit.

singleDigitFinal

void singleDigitFinal(int digit)
A single digit was pressed, and it is 'the final answer'. - a single digit pressed, and the timeout expires. - a single digit pressed, and singleDigitIntermediate(int) returned false.

Parameters:
digit - The digit.

twoDigitsFinal

boolean twoDigitsFinal(int digit1,
                       int digit2)
The user pressed digit1, then digit2 within the timeout.

Parameters:
digit1 -
digit2 -

Build 1.0_r1(from source)

Please submit a feedback, bug or feature