java.lang.ClassCastException: android.widget.FrameLayout cannot be cast to android.widget.ScrollView

Stack Overflow | Melon Therapy | 8 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

    Kotlinx injects view from wrong layout

    Stack Overflow | 8 months ago | Melon Therapy
    java.lang.ClassCastException: android.widget.FrameLayout cannot be cast to android.widget.ScrollView

    Root Cause Analysis

    1. java.lang.ClassCastException

      android.widget.FrameLayout cannot be cast to android.widget.ScrollView

      at com.company.app.Activity.isOverflowPanelShown()
    2. com.company.app
      Activity.isOverflowPanelShown
      1. com.company.app.Activity.isOverflowPanelShown(Activity.kt:362)
      1 frame