2012-09-15 69 views

回答

0

我知道我的答案为时太晚,当我面临同样的问题并解决它,那么我认为我必须分享我的答案。

if (row == null) { holder.numpicker.setMaxValue(100); 
    holder.numpicker.setMinValue(0); 
     holder.numpicker.setFocusableInTouchMode(false); 
     holder.numpicker.setFocusable(false); 
} 
else 
{ 

} 

holder.numpicker.setMaxValue(100); 
    holder.numpicker.setMinValue(0); 
    holder.numpicker.setValue(0); 
     holder.numpicker.setFocusableInTouchMode(false); 
     holder.numpicker.setFocusable(false);