2012-09-15 65 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);