Country Code Picker (CCP) is an android library which provides an easy way to search and select country or international phone code. Also supports Android EditText phone mask and international phone validation.
Apache License 2.0
1.52k
stars
505
forks
source link
InflateException occured due to ResourceNotFoundException in CountryCodeAdapter #573
Stack Trace - android.content.res.ResourcesImpl.getValue (ResourcesImpl.java:215) android.content.res.Resources.getValue (Resources.java:1316) androidx.appcompat.widget.ResourceManagerInternal.createDrawableIfNeeded (ResourceManagerInternal.java:181) androidx.appcompat.widget.ResourceManagerInternal.getDrawable (ResourceManagerInternal.java:146) androidx.appcompat.widget.ResourceManagerInternal.getDrawable (ResourceManagerInternal.java:137) androidx.appcompat.content.res.AppCompatResources.getDrawable (AppCompatResources.java:66) androidx.appcompat.widget.AppCompatImageHelper.loadFromAttributes (AppCompatImageHelper.java:64) androidx.appcompat.widget.AppCompatImageView. (AppCompatImageView.java:86)
androidx.appcompat.widget.AppCompatImageView. (AppCompatImageView.java:73)
androidx.appcompat.app.AppCompatViewInflater.createImageView (AppCompatViewInflater.java:211)
androidx.appcompat.app.AppCompatViewInflater.createView (AppCompatViewInflater.java:130)
androidx.appcompat.app.AppCompatDelegateImpl.createView (AppCompatDelegateImpl.java:1682)
androidx.appcompat.app.AppCompatDelegateImpl.onCreateView (AppCompatDelegateImpl.java:1733)
android.view.LayoutInflater.createViewFromTag (LayoutInflater.java:772)
android.view.LayoutInflater.createViewFromTag (LayoutInflater.java:730)
android.view.LayoutInflater.rInflate (LayoutInflater.java:863)
android.view.LayoutInflater.rInflateChildren (LayoutInflater.java:824)
android.view.LayoutInflater.rInflate (LayoutInflater.java:866)
android.view.LayoutInflater.rInflateChildren (LayoutInflater.java:824)
android.view.LayoutInflater.inflate (LayoutInflater.java:515)
android.view.LayoutInflater.inflate (LayoutInflater.java:423)
com.hbb20.CountryCodeAdapter.onCreateViewHolder (CountryCodeAdapter.java:167)
com.hbb20.CountryCodeAdapter.onCreateViewHolder (CountryCodeAdapter.java:28)
androidx.recyclerview.widget.RecyclerView$Adapter.createViewHolder (RecyclerView.java:7295)
androidx.recyclerview.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline (RecyclerView.java:6416)
androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition (RecyclerView.java:6300)
androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition (RecyclerView.java:6296)
androidx.recyclerview.widget.LinearLayoutManager$LayoutState.next (LinearLayoutManager.java:2330)
androidx.recyclerview.widget.LinearLayoutManager.layoutChunk (LinearLayoutManager.java:1631)
androidx.recyclerview.widget.LinearLayoutManager.fill (LinearLayoutManager.java:1591)
androidx.recyclerview.widget.LinearLayoutManager.onLayoutChildren (LinearLayoutManager.java:668)
androidx.recyclerview.widget.RecyclerView.dispatchLayoutStep2 (RecyclerView.java:4309)
androidx.recyclerview.widget.RecyclerView.dispatchLayout (RecyclerView.java:4012)
androidx.recyclerview.widget.RecyclerView.onLayout (RecyclerView.java:4578)
android.view.View.layout (View.java:19659)
android.view.ViewGroup.layout (ViewGroup.java:6075)
android.widget.RelativeLayout.onLayout (RelativeLayout.java:1083)
android.view.View.layout (View.java:19659)
android.view.ViewGroup.layout (ViewGroup.java:6075)
android.widget.FrameLayout.layoutChildren (FrameLayout.java:323)
android.widget.FrameLayout.onLayout (FrameLayout.java:261)
android.view.View.layout (View.java:19659)
android.view.ViewGroup.layout (ViewGroup.java:6075)
android.widget.FrameLayout.layoutChildren (FrameLayout.java:323)
android.widget.FrameLayout.onLayout (FrameLayout.java:261)
android.view.View.layout (View.java:19659)
android.view.ViewGroup.layout (ViewGroup.java:6075)
android.widget.FrameLayout.layoutChildren (FrameLayout.java:323)
android.widget.FrameLayout.onLayout (FrameLayout.java:261)
android.view.View.layout (View.java:19659)
android.view.ViewGroup.layout (ViewGroup.java:6075)
android.widget.FrameLayout.layoutChildren (FrameLayout.java:323)
android.widget.FrameLayout.onLayout (FrameLayout.java:261)
com.android.internal.policy.DecorView.onLayout (DecorView.java:761)
android.view.View.layout (View.java:19659)
android.view.ViewGroup.layout (ViewGroup.java:6075)
android.view.ViewRootImpl.performLayout (ViewRootImpl.java:2496)
android.view.ViewRootImpl.performTraversals (ViewRootImpl.java:2212)
android.view.ViewRootImpl.doTraversal (ViewRootImpl.java:1392)
android.view.ViewRootImpl$TraversalRunnable.run (ViewRootImpl.java:6752)
android.view.Choreographer$CallbackRecord.run (Choreographer.java:911)
android.view.Choreographer.doCallbacks (Choreographer.java:723)
android.view.Choreographer.doFrame (Choreographer.java:658)
android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:897)
android.os.Handler.handleCallback (Handler.java:790)
android.os.Handler.dispatchMessage (Handler.java:99)
android.os.Looper.loop (Looper.java:164)
android.app.ActivityThread.main (ActivityThread.java:6494)
java.lang.reflect.Method.invoke (Method.java)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:438)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:807)