mukeshsolanki / country-picker-android

A simple library that displays a beautiful list of all the countries allowing the user to pick the country he wishes and provide details like country code, iso code name,currency and flag.
MIT License
322 stars 135 forks source link

fast scrolling down throwing NoSuchFieldException #1

Closed satya-kodukula closed 8 years ago

satya-kodukula commented 8 years ago

E/CountryCodePicker: Failure to get drawable id. java.lang.NoSuchFieldException: flag_bl at java.lang.Class.getField(Class.java:891) at com.mukesh.countrypicker.adapters.CountryListAdapter.getResId(CountryListAdapter.java:30) at com.mukesh.countrypicker.adapters.CountryListAdapter.getView(CountryListAdapter.java:76) at android.widget.AbsListView.obtainView(AbsListView.java:2346) at android.widget.ListView.makeAndAddView(ListView.java:1875) at android.widget.ListView.fillDown(ListView.java:702) at android.widget.ListView.fillGap(ListView.java:666) at android.widget.AbsListView.trackMotionScroll(AbsListView.java:5029) at android.widget.AbsListView$FlingRunnable.run(AbsListView.java:4577) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:858) at android.view.Choreographer.doCallbacks(Choreographer.java:670) at android.view.Choreographer.doFrame(Choreographer.java:603) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5417) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

hilzinju commented 8 years ago

Flag icon from Saint-Barthélemy is missing

Get it from here

mukeshsolanki commented 8 years ago

@hilzinju thanks for that we have updated and fixed it :)

satya-kodukula commented 8 years ago

Looks good, Thank you!