askerov/DynamicGrid

Stack Overflow issue on HTC One 4.0.3

Opened this issue · 3 comments

02-18 13:58:34.114: E/AndroidRuntime(2498): FATAL EXCEPTION: main
02-18 13:58:34.114: E/AndroidRuntime(2498): java.lang.StackOverflowError
02-18 13:58:34.114: E/AndroidRuntime(2498): at org.askerov.dynamicgrid..DynamicGridView.access$10(DynamicGridView.java:544)
02-18 13:58:34.114: E/AndroidRuntime(2498): at org.askerov.dynamicgrid..DynamicGridView$2.isScrollCompleted(DynamicGridView.java:1102)
02-18 13:58:34.114: E/AndroidRuntime(2498): at org.askerov.dynamicgrid..DynamicGridView$2.onScrollStateChanged(DynamicGridView.java:1085)
02-18 13:58:34.114: E/AndroidRuntime(2498): at android.widget.AbsListView.reportScrollStateChange(AbsListView.java:3693)
02-18 13:58:34.114: E/AndroidRuntime(2498): at android.widget.AbsListView$FlingRunnable.endFling(AbsListView.java:3821)
02-18 13:58:34.114: E/AndroidRuntime(2498): at android.widget.AbsListView.smoothScrollBy(AbsListView.java:4409)
02-18 13:58:34.114: E/AndroidRuntime(2498): at org.askerov.dynamicgrid..DynamicGridView.handleMobileCellScroll(DynamicGridView.java:562)
02-18 13:58:34.114: E/AndroidRuntime(2498): at org.askerov.dynamicgrid..DynamicGridView.handleMobileCellScroll(DynamicGridView.java:545)
02-18 13:58:34.114: E/AndroidRuntime(2498): at org.askerov.dynamicgrid..DynamicGridView.access$10(DynamicGridView.java:544)
02-18 13:58:34.114: E/AndroidRuntime(2498): at org.askerov.dynamicgrid..DynamicGridView$2.isScrollCompleted(DynamicGridView.java:1102)
02-18 13:58:34.114: E/AndroidRuntime(2498): at org.askerov.dynamicgrid..DynamicGridView$2.onScrollStateChanged(DynamicGridView.java:1085)
02-18 13:58:34.114: E/AndroidRuntime(2498): at android.widget.AbsListView.reportScrollStateChange(AbsListView.java:3693)
02-18 13:58:34.114: E/AndroidRuntime(2498): at android.widget.AbsListView$FlingRunnable.endFling(AbsListView.java:3821)
02-18 13:58:34.114: E/AndroidRuntime(2498): at android.widget.AbsListView.smoothScrollBy(AbsListView.java:4409)
02-18 13:58:34.114: E/AndroidRuntime(2498): at org.askerov.dynamicgrid..DynamicGridView.handleMobileCellScroll(DynamicGridView.java:562)
02-18 13:58:34.114: E/AndroidRuntime(2498): at org.askerov.dynamicgrid..DynamicGridView.handleMobileCellScroll(DynamicGridView.java:545)
02-18 13:58:34.114: E/AndroidRuntime(2498): at org.askerov.dynamicgrid..DynamicGridView.access$10(DynamicGridView.java:544)
02-18 13:58:34.114: E/AndroidRuntime(2498): at org.askerov.dynamicgrid..DynamicGridView$2.isScrollCompleted(DynamicGridView.java:1102)
02-18 13:58:34.114: E/AndroidRuntime(2498): at org.askerov.dynamicgrid..DynamicGridView$2.onScrollStateChanged(DynamicGridView.java:1085)
02-18 13:58:34.114: E/AndroidRuntime(2498): at android.widget.AbsListView.reportScrollStateChange(AbsListView.java:3693)
02-18 13:58:34.114: E/AndroidRuntime(2498): at android.widget.AbsListView$FlingRunnable.endFling(AbsListView.java:3821)
02-18 13:58:34.114: E/AndroidRuntime(2498): at android.widget.AbsListView.smoothScrollBy(AbsListView.java:4409)
02-18 13:58:34.114: E/AndroidRuntime(2498): at org.askerov.dynamicgrid..DynamicGridView.handleMobileCellScroll(DynamicGridView.java:562)
02-18 13:58:34.114: E/AndroidRuntime(2498): at org.askerov.dynamicgrid..DynamicGridView.handleMobileCellScroll(DynamicGridView.java:545)
02-18 13:58:34.114: E/AndroidRuntime(2498): at org.askerov.dynamicgrid..DynamicGridView.access$10(DynamicGridView.java:544)
02-18 13:58:34.114: E/AndroidRuntime(2498): at org.askerov.dynamicgrid..DynamicGridView$2.isScrollCompleted(DynamicGridView.java:1102)
02-18 13:58:34.114: E/AndroidRuntime(2498): at org.askerov.dynamicgrid..DynamicGridView$2.onScrollStateChanged(DynamicGridView.java:1085)
02-18 13:58:34.114: E/AndroidRuntime(2498): at android.widget.AbsListView.reportScrollStateChange(AbsListView.java:3693)
02-18 13:58:34.114: E/AndroidRuntime(2498): at android.widget.AbsListView$FlingRunnable.endFling(AbsListView.java:3821)
02-18 13:58:34.114: E/AndroidRuntime(2498): at android.widget.AbsListView.smoothScrollBy(AbsListView.java:4409)
02-18 13:58:34.114: E/AndroidRuntime(2498): at org.askerov.dynamicgrid..DynamicGridView.handleMobileCellScroll(DynamicGridView.java:562)
02-18 13:58:34.114: E/AndroidRuntime(2498): at org.askerov.dynamicgrid..DynamicGridView.handleMobileCellScroll(DynamicGridView.java:545)
02-18 13:58:34.114: E/AndroidRuntime(2498): at org.askerov.dynamicgrid..DynamicGridView.access$10(DynamicGridView.java:544)
02-18 13:58:34.114: E/AndroidRuntime(2498): at org.askerov.dynamicgrid..DynamicGridView$2.isScrollCompleted(DynamicGridView.java:1102)
02-18 13:58:34.114: E/AndroidRuntime(2498): at org.askerov.dynamicgrid..DynamicGridView$2.onScrollStateChanged(DynamicGridView.java:1085)
02-18 13:58:34.114: E/AndroidRuntime(2498): at android.widget.AbsListView.reportScrollStateChange(AbsListView.java:3693)
02-18 13:58:34.114: E/AndroidRuntime(2498): at android.widget.AbsListView$FlingRunnable.endFling(AbsListView.java:3821)
02-18 13:58:34.114: E/AndroidRuntime(2498): at android.widget.AbsListView.smoothScrollBy(AbsListView.java:4409)
02-18 13:58:34.114: E/AndroidRuntime(2498): at org.askerov.dynamicgrid..DynamicGridView.handleMobileCellScroll(DynamicGridView.java:562)
02-18 13:58:34.114: E/AndroidRuntime(2498): at org.askerov.dynamicgrid..DynamicGridView.handleMobileCellScroll(DynamicGridView.java:545)
02-18 13:58:34.114: E/AndroidRuntime(2498): at org.askerov.dynamicgrid..DynamicGridView.access$10(DynamicGridView.java:544)
02-18 13:58:34.114: E/AndroidRuntime(2498): at org.askerov.dynamicgrid..DynamicGridView$2.isScrollCompleted(DynamicGridView.java:1102)
02-18 13:58:34.114: E/AndroidRuntime(2498): at org.askerov.dynamicgrid..DynamicGridView$2.onScrollStateChanged(DynamicGridView.java:1085)

Hi,
Do you have custom onScroll listener which is called recursively? If no then can you provide more details of how the issue appears?

Hi,

I was dragging the item. My GridView is inside a viewpager of
FragmentActivity.

Thanks

On Wed, Feb 18, 2015 at 5:57 PM, Denis Kniazhev notifications@github.com
wrote:

Hi,
Do you have custom onScroll listener which is called recursively? If no
then can you provide more details of how the issue appears?


Reply to this email directly or view it on GitHub
#61 (comment).

Thanks and Regards,
Sarfaraz

Hi,

I have not implemented custom onScollListener.

Thanks...