java.lang.ClassCastException: com.prolificinteractive.materialcalendarview.WeekView cannot be cast to com.prolificinteractive.materialcalendarview.MonthView

GitHub | kostaniakm | 10 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    ClassCastException - WeekView to MonthView

    GitHub | 10 months ago | kostaniakm
    java.lang.ClassCastException: com.prolificinteractive.materialcalendarview.WeekView cannot be cast to com.prolificinteractive.materialcalendarview.MonthView

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.prolificinteractive.materialcalendarview.WeekView cannot be cast to com.prolificinteractive.materialcalendarview.MonthView

      at com.prolificinteractive.materialcalendarview.CalendarPagerAdapter.getItemPosition()
    2. com.prolificinteractive.materialcalendarview
      WeekPagerAdapter.getItemPosition
      1. com.prolificinteractive.materialcalendarview.CalendarPagerAdapter.getItemPosition(CalendarPagerAdapter.java:125)
      2. com.prolificinteractive.materialcalendarview.WeekPagerAdapter.getItemPosition(WeekPagerAdapter.java:9)
      2 frames