Android Question "afollestad MaterialDialogs reborn" not working anymore

Discussion in 'Android Questions' started by wimpie3, Jul 22, 2019.

  1. wimpie3

    wimpie3 Well-Known Member Licensed User

    It seems that @DonManfred 's "afollestad MaterialDialogs reborn" isn't working anymore using the AndroidX SDK. The example file crashes with:
    Code:
    android.view.InflateException: Binary XML file line #39: Error inflating class android.support.v7.widget.RecyclerView
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Have you jetified all libraries?
     
  3. wimpie3

    wimpie3 Well-Known Member Licensed User

    Yes, Jettifier says "nothing to do".
     
  4. wimpie3

    wimpie3 Well-Known Member Licensed User

    Last edited: Jul 22, 2019
  5. Erel

    Erel Administrator Staff Member Licensed User

    (I recommend you to use B4XDialogs, you can customize it however you like)
     
  6. ihabsharaf

    ihabsharaf Member Licensed User

    I have the same issue
    What about old projects
    that means when I upgrade any old project, I will change MaterialDialogs to B4XDialogs and slidmenu to B4XDrawer and don't know if other libraries are not working.
    I think this will be an added burden
     
  7. Erel

    Erel Administrator Staff Member Licensed User

    It should be simple to fix this issue.

    Find the layout XML file and replace android.support.v7.widget.RecyclerView with androidx.recyclerview.widget.RecyclerView
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice