question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error inflating class com.qtalk.recyclerviewfastscroller.RecyclerViewFastScrolle

See original GitHub issue
 android.view.InflateException: Binary XML file line #1: Binary XML file line #1: Error inflating class com.qtalk.recyclerviewfastscroller.RecyclerViewFastScroller
    Caused by: android.view.InflateException: Binary XML file line #1: Error inflating class com.qtalk.recyclerviewfastscroller.RecyclerViewFastScroller
    Caused by: java.lang.NoSuchMethodException: <init> [class android.content.Context, interface android.util.AttributeSet]
        at java.lang.Class.getConstructor0(Class.java:2327)
        at java.lang.Class.getConstructor(Class.java:1725)
        at android.view.LayoutInflater.createView(LayoutInflater.java:615)
        at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:790)
        at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:730)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
imayank91commented, Jul 29, 2019

This is my XML file

<com.qtalk.recyclerviewfastscroller.RecyclerViewFastScroller xmlns:app="http://schemas.android.com/apk/res-auto"
                                                             xmlns:android="http://schemas.android.com/apk/res/android"
                                                             android:layout_width="match_parent"
                                                             android:layout_height="match_parent"
                                                             android:id="@+id/fast_scroller_contacts"
                                                             app:handleWidth="@dimen/default_handle_size"
                                                             app:handleHeight="32dp"
                                                             app:popupTextStyle="@style/ContactsPopupTextViewStyle"
                                                             app:popupDrawable="@drawable/contacts_fastscroller_drawable">
    <androidx.recyclerview.widget.RecyclerView
            android:layout_height="match_parent"
            android:layout_width="match_parent"
            android:layout_marginStart="@dimen/_4sdp"
            android:layout_marginEnd="@dimen/_4sdp"
            android:id="@+id/contacts_recycler_view">
    </androidx.recyclerview.widget.RecyclerView>
</com.qtalk.recyclerviewfastscroller.RecyclerViewFastScroller>
0reactions
shahsurajkcommented, Jul 29, 2019

@imayank91 v0.1.3 is already released. It can take a few hours for the dependencies to become available. This release should solve this issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error inflating class android.support.v7.widget.RecyclerView
I'm trying to use RecyclerView in my existing project, builds without errors but getting no class found error for ...
Read more >
Binary XML file line #2: Error inflating class <unknown>
Please, i am unable to load application, it generate the error above, ... Binary XML file line #2: Error inflating class <unknown>.
Read more >
A fully customizable Fast Scroller for the RecyclerView in ...
RecyclerViewFastScroller A simple, easy to use and configurable fast scroller for RecyclerView Adding the dependency implementation ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found