java.lang.ClassCastException: android.support.v7.view.ContextThemeWrapper cannot be cast to android.app.Activity

GitHub | rubysuki | 8 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

    java.lang.ClassCastException: android.support.v7.view.ContextThemeWrapper cannot be cast to android.app.Activity

    GitHub | 8 months ago | rubysuki
    java.lang.ClassCastException: android.support.v7.view.ContextThemeWrapper cannot be cast to android.app.Activity

    Root Cause Analysis

    1. java.lang.ClassCastException

      android.support.v7.view.ContextThemeWrapper cannot be cast to android.app.Activity

      at com.roughike.bottombar.BottomBar.setItems()
    2. com.roughike.bottombar
      BottomBar.setItems
      1. com.roughike.bottombar.BottomBar.setItems(BottomBar.java:342)
      1 frame