為什么是scroll.getScaleY() <= 0,scroll.getScaleY()= 0不是已經(jīng)是頂部了嗎?
同理scroll.getChildAt(0).getMeasuredHeight() = scroll.getHeight() + scroll.getScaleY())不就可以了?
同理scroll.getChildAt(0).getMeasuredHeight() = scroll.getHeight() + scroll.getScaleY())不就可以了?
2015-03-22
舉報(bào)
2015-08-25
為了更準(zhǔn)確的判斷;