Comments (8)
Hi,
I have exactly the same error
appreciate any help.
Thank you! :)
from androidstaggeredgrid.
Exactly the same problem here... I will make some more tests, but I cannot reproduce on my own device, only reports from Play Store.
from androidstaggeredgrid.
Looking
from androidstaggeredgrid.
I meet same problem..
W/dalvikvm﹕ method Lcom/etsy/android/grid/ExtendableListView;.fillGap incorrectly overrides package-private method with same name in Landroid/widget/AbsListView;
W/dalvikvm﹕ method Lcom/etsy/android/grid/ExtendableListView;.getFooterViewsCount incorrectly overrides package-private method with same name in Landroid/widget/AbsListView;
W/dalvikvm﹕ method Lcom/etsy/android/grid/ExtendableListView;.getHeaderViewsCount incorrectly overrides package-private method with same name in Landroid/widget/AbsListView;
W/dalvikvm﹕ method Lcom/etsy/android/grid/ExtendableListView;.invokeOnItemScrollListener incorrectly overrides package-private method with same name in Landroid/widget/AbsListView;
W/dalvikvm﹕ method Lcom/etsy/android/grid/ExtendableListView;.rememberSyncState incorrectly overrides package-private method with same name in Landroid/widget/AdapterView;
W/dalvikvm﹕ method Lcom/etsy/android/grid/ExtendableListView;.reportScrollStateChange incorrectly overrides package-private method with same name in Landroid/widget/AbsListView;
03-02 20:11:26.757 32765-32765/org.rubychina.app E/AndroidRuntime﹕ FATAL EXCEPTION: main
Process: org.rubychina.app, PID: 32765
java.lang.NullPointerException
at com.etsy.android.grid.ExtendableListView.getLastVisiblePosition(ExtendableListView.java:1828)
at android.widget.AdapterView.onInitializeAccessibilityEvent(AdapterView.java:957)
at android.widget.AbsListView.onInitializeAccessibilityEvent(AbsListView.java:1443)
at android.view.View.sendAccessibilityEventUncheckedInternal(View.java:4946)
at android.view.View.sendAccessibilityEventUnchecked(View.java:4933)
at android.view.View$SendViewStateChangedAccessibilityEvent.run(View.java:19472)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5017)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
at dalvik.system.NativeStart.main(Native Method)
from androidstaggeredgrid.
I know what's cause this problem just now.
You need to setAdapter before return the Fragment'view.
from androidstaggeredgrid.
I've got exactly the same error in production with Moto X running android 4.4 and I can't reproduce it,
Gonjay can you elaborate a little bit more?
from androidstaggeredgrid.
I wasn't able to reproduce with a fragment example added to the sample app. Could you please share the creation code of your fragment.
I did however add a check against the null adapter in the getLastVisiblePosition() so this should now be fixed.
from androidstaggeredgrid.
@zeitos Hoping this will help you
from androidstaggeredgrid.
Related Issues (20)
- Staggered listview were broken when I reinstantiate.
- NullPointerException on LongClick in Edittext HOT 1
- Load youtube thumbnails
- NotifyDataSetChanged showing whole SGV redrawing.
- pulltorefresh nesting AndroidStaggeredGrid
- Set Background drawable not working
- The content of the adapter has changed but ExtendableListView did not receive a notification. Make sure the content of your adapter is not modified from a background thread HOT 5
- wrong child layout offset
- getScrollY StaggerGridView return 0
- setSelection does not work. HOT 2
- Esty item_margin, columns count, HOT 1
- Scale Type is not properly managed HOT 1
- Activity automatically close
- Reload on scroll
- When nested in ScorllView, how to dynamically calculate the height of AndroidStaggeredGrid HOT 1
- view disapear and display some time item display one side only on fast scroll and load more HOT 1
- If this is deprecated are you not supporting below API 22 at etsy ?
- detected the last item to load more into StaggeredGridView
- Implementing a Mosaic View which is scrollable in all direction, like CRED app HOT 1
- Thank you very much!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from androidstaggeredgrid.