|
|
@@ -379,8 +379,7 @@ public class MainCategorySnapper extends RecyclerView.OnFlingListener {
|
|
|
* @return the child view that is currently closest to the center of this parent.
|
|
|
*/
|
|
|
@Nullable
|
|
|
- private View findCenterView(RecyclerView.LayoutManager layoutManager,
|
|
|
- OrientationHelper helper) {
|
|
|
+ private View findCenterView(RecyclerView.LayoutManager layoutManager, OrientationHelper helper) {
|
|
|
int childCount = layoutManager.getChildCount();
|
|
|
if (childCount == 0) {
|
|
|
return null;
|