为什么RecyclerView.LayoutManager默认使用smoothScrollToPosition方法Log.e()?

时间:2016-07-15 08:52:09

标签: java android android-recyclerview

我有时会对Android代码感到惊讶。正如标题所要求的那样;

为什么DIST_VC_DNE | Analysed_Cnt --------------------------- AP 13065 <===This is the correct result 默认RecyclerView.LayoutManager's方法会写一条smoothScrollToPosition消息而不是抛出异常?

(这是在支持v7库中,24.0.0)

Log.e

我希望这个方法抛出异常,因为调用此方法的人显然没有实现所需的方法/类。

0 个答案:

没有答案