Exemple #1
0
 @Override
 public void onFocusChange(View view, boolean hasFocus) {
   if (onFocusChangeListener != null) {
     onFocusChangeListener.onFocusChange(view, hasFocus);
   }
   if (hasFocus) {
     this.setSelection(firstAllowedPosition);
     this.requestFocus();
   }
 }