Code example for NumberPicker

Methods: clearFocusgetValue

0
 
  private void a() 
  { 
    if (this.b != null)
    { 
      this.a.clearFocus();
      this.b.a(this.a, this.a.getValue());
    } 
  } 
 
  public void onClick(DialogInterface paramDialogInterface, int paramInt)
  { 
    a(); 
  } 
 
  public void onRestoreInstanceState(Bundle paramBundle)
  { 
    super.onRestoreInstanceState(paramBundle);
    int i = paramBundle.getInt("value");
    this.a.setValue(i);
  }