Closed ghost closed 11 years ago
Can you upload exception stack trace please? On May 28, 2013 3:07 PM, "Nanolabs" notifications@github.com wrote:
Hi, i have a problem when implementing custom listview adapter. I get nullPointerException and even if i manage it to work i get Exception on scroll.
— Reply to this email directly or view it on GitHubhttps://github.com/beworker/pinned-section-listview/issues/6 .
05-29 06:58:06.302: E/AndroidRuntime(392): FATAL EXCEPTION: main 05-29 06:58:06.302: E/AndroidRuntime(392): java.lang.NullPointerException 05-29 06:58:06.302: E/AndroidRuntime(392): at com.hb.views.PinnedSectionListView.createPinnedShadow(PinnedSectionListView.java:164) 05-29 06:58:06.302: E/AndroidRuntime(392): at com.hb.views.PinnedSectionListView.access$4(PinnedSectionListView.java:152) 05-29 06:58:06.302: E/AndroidRuntime(392): at com.hb.views.PinnedSectionListView$1.onScroll(PinnedSectionListView.java:106) 05-29 06:58:06.302: E/AndroidRuntime(392): at android.widget.AbsListView.invokeOnItemScrollListener(AbsListView.java:772) 05-29 06:58:06.302: E/AndroidRuntime(392): at android.widget.AbsListView.trackMotionScroll(AbsListView.java:3411) 05-29 06:58:06.302: E/AndroidRuntime(392): at android.widget.AbsListView.onTouchEvent(AbsListView.java:2233) 05-29 06:58:06.302: E/AndroidRuntime(392): at android.widget.ListView.onTouchEvent(ListView.java:3446) 05-29 06:58:06.302: E/AndroidRuntime(392): at android.view.View.dispatchTouchEvent(View.java:3885) 05-29 06:58:06.302: E/AndroidRuntime(392): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:903) 05-29 06:58:06.302: E/AndroidRuntime(392): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:942) 05-29 06:58:06.302: E/AndroidRuntime(392): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:942) 05-29 06:58:06.302: E/AndroidRuntime(392): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:942) 05-29 06:58:06.302: E/AndroidRuntime(392): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:942) 05-29 06:58:06.302: E/AndroidRuntime(392): at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1691) 05-29 06:58:06.302: E/AndroidRuntime(392): at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1125) 05-29 06:58:06.302: E/AndroidRuntime(392): at android.app.Activity.dispatchTouchEvent(Activity.java:2096) 05-29 06:58:06.302: E/AndroidRuntime(392): at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1675) 05-29 06:58:06.302: E/AndroidRuntime(392): at android.view.ViewRoot.deliverPointerEvent(ViewRoot.java:2194) 05-29 06:58:06.302: E/AndroidRuntime(392): at android.view.ViewRoot.handleMessage(ViewRoot.java:1878) 05-29 06:58:06.302: E/AndroidRuntime(392): at android.os.Handler.dispatchMessage(Handler.java:99) 05-29 06:58:06.302: E/AndroidRuntime(392): at android.os.Looper.loop(Looper.java:123) 05-29 06:58:06.302: E/AndroidRuntime(392): at android.app.ActivityThread.main(ActivityThread.java:3683) 05-29 06:58:06.302: E/AndroidRuntime(392): at java.lang.reflect.Method.invokeNative(Native Method) 05-29 06:58:06.302: E/AndroidRuntime(392): at java.lang.reflect.Method.invoke(Method.java:507) 05-29 06:58:06.302: E/AndroidRuntime(392): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839) 05-29 06:58:06.302: E/AndroidRuntime(392): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) 05-29 06:58:06.302: E/AndroidRuntime(392): at
i think that my adapter is not good... i'm sending you adapter and rowItem class in attachment.
Thx.
On Tue, May 28, 2013 at 6:11 PM, Sergej Shafarenka <notifications@github.com
wrote:
Can you upload exception stack trace please? On May 28, 2013 3:07 PM, "Nanolabs" notifications@github.com wrote:
Hi, i have a problem when implementing custom listview adapter. I get nullPointerException and even if i manage it to work i get Exception on scroll.
— Reply to this email directly or view it on GitHub< https://github.com/beworker/pinned-section-listview/issues/6> .
— Reply to this email directly or view it on GitHubhttps://github.com/beworker/pinned-section-listview/issues/6#issuecomment-18561324 .
Filip Skorup PRO web, interface, graphic and software designer 31000 Osijek tel: +385 (0)95 873 8435 http://dribbble.com/nanolabs.solutions
**
Ova poruka moze sadrzavati povjerljive informacije. Ako Vam ovaj e-mail nije namijenjen, molimo Vas da ga izbrisete zajedno sa svim njegovim privitcima i da nas o tome obavijestite. Ako Vam ovaj e-mail nije namijenjen, svaka upotreba, kopiranje, odavanje ili distribucija ovog e-maila ili dijela njegova sadrzaja je zabranjena. Sva odgovornost za viruse je iskljucena do maksimalne razine dozvoljene zakonom. +++++++++ This e-mail message may contain privileged and confidential information. If you are not an intended recipient, please delete the message and any attachments and notify the sender of misdelivery: any use, disclosure, copying or distribution, either whole or partial, is prohibited. All liability for viruses is excluded to the fullest extent permitted by law.
Please pull latest changes and try again. The issue must be fixed.
Pulled latest changes and it's working perfectly! Thanks for your hard work!
On Wed, May 29, 2013 at 9:10 AM, Sergej Shafarenka <notifications@github.com
wrote:
Please pull latest changes and try again. The issue must be fixed.
— Reply to this email directly or view it on GitHubhttps://github.com/beworker/pinned-section-listview/issues/6#issuecomment-18599534 .
Filip Skorup PRO web, interface, graphic and software designer 31000 Osijek tel: +385 (0)95 873 8435 http://dribbble.com/nanolabs.solutions
**
Ova poruka moze sadrzavati povjerljive informacije. Ako Vam ovaj e-mail nije namijenjen, molimo Vas da ga izbrisete zajedno sa svim njegovim privitcima i da nas o tome obavijestite. Ako Vam ovaj e-mail nije namijenjen, svaka upotreba, kopiranje, odavanje ili distribucija ovog e-maila ili dijela njegova sadrzaja je zabranjena. Sva odgovornost za viruse je iskljucena do maksimalne razine dozvoljene zakonom. +++++++++ This e-mail message may contain privileged and confidential information. If you are not an intended recipient, please delete the message and any attachments and notify the sender of misdelivery: any use, disclosure, copying or distribution, either whole or partial, is prohibited. All liability for viruses is excluded to the fullest extent permitted by law.
Hi, i have a problem when implementing custom listview adapter. I get nullPointerException and even if i manage it to work i get Exception on scroll.