java.lang.IllegalArgumentException: Invalid target position

GitHub | SiminaNicolae | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    smoothScrollToPosition crash

    GitHub | 9 months ago | SiminaNicolae
    java.lang.IllegalArgumentException: Invalid target position

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Invalid target position

      at android.support.v7.widget.RecyclerView$SmoothScroller.start()
    2. Android v7
      RecyclerView$LayoutManager.startSmoothScroll
      1. android.support.v7.widget.RecyclerView$SmoothScroller.start(RecyclerView.java:9562)
      2. android.support.v7.widget.RecyclerView$LayoutManager.startSmoothScroll(RecyclerView.java:6596)
      2 frames
    3. com.azoft.carousellayoutmanager
      CarouselLayoutManager.smoothScrollToPosition
      1. com.azoft.carousellayoutmanager.CarouselLayoutManager.smoothScrollToPosition(CarouselLayoutManager.java:193)
      1 frame