For example, the "drums" to select the date.

scr

when the user reaches the last item in the list of months, for example, after the last one, the first one is immediately shown to him. Or if you flip the other way, then after the first one the last one goes.

Those.:

obj2, obj3, obj4, obj1, obj2, obj3, obj4, obj1, obj2, obj3, etc.

  • one
    getItemCount -> Integer.MAX_VALUE . getItem(position) -> items.get(position % items.size()) - Yura Ivanov
  • @YuraIvanov and if both ways? - torin.dmitry
  • one
    When you start scrollToPosition(Integer.MAX_VALUE / 2) . Well, you need to adjust it so that this initial value is divided into item.size (). Can you handle it? - Yura Ivanov
  • You know that the NumberPicker , DatePicker and TimePicker are not based on RecyclerView ( ListView ) but LinearLayout ? - pavlofff

0