sathiamour / android-amazing-listview Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/android-amazing-listview
Automatically exported from code.google.com/p/android-amazing-listview
When I run the app on one of the devices I have with Android v. 2.3.4 and
scroll the ListView several times, up and down, my app closes down without
showing any error. All I am able to get in the logcat is as below :
12-09 15:39:20.055: E/InputDispatcher(182): channel '40c5dee0
com.myapp/com.myapp.HomeScreen (server)' ~ Consumer closed input channel or an
error occurred. events=0x8
12-09 15:39:20.055: E/InputDispatcher(182): channel '40c5dee0
com.myapp/com.myapp.HomeScreen (server)' ~ Channel is unrecoverably broken and
will be disposed!
12-09 15:39:20.065: I/WindowManager(182): WIN DEATH: Window{40c5dee0
com.myapp/com.myapp.HomeScreen paused=false}
The app runs fine on android 4.x versions. I am getting this issue in android
2.3.4, as I have one device with that version to test on. I would like to know
what might be causing the problem. Any help would be appreciated.
Original issue reported on code.google.com by [email protected]
on 9 Dec 2013 at 11:02
zzzz
Original issue reported on code.google.com by [email protected]
on 8 Mar 2015 at 6:27
Attachments:
What steps will reproduce the problem?
1. create list with sections headers
2. add header as addheader to list.
3. over write the headers .
this override the headers and didnt show the correct header.
Original issue reported on code.google.com by [email protected]
on 29 Nov 2012 at 8:51
What steps will reproduce the problem?
1. set onclick listener for all header layout
2. after start the app, scroll up a several list item
3. the first header can't responding to onclick event,onclicklistener can't be
called for the first shown header
In my opinion, no matter in what state,the first shown in the listview should
be clickable. I tried to find why this happen , It turned out that the
drawchild called in dispatchdraw can't draw on clickable child.
I used android sdk 2.2
Original issue reported on code.google.com by [email protected]
on 12 May 2012 at 11:40
Appear garbled
Original issue reported on code.google.com by [email protected]
on 6 Apr 2011 at 10:06
Attachments:
What steps will reproduce the problem?
1. Download the repository
2. try to run it, at compilation it will throw the error multiple markers at
this line
- Pair cannot be resolved to a type
Data.java line 13
3.
Where this class and the getOneSection method are?
Original issue reported on code.google.com by [email protected]
on 21 Feb 2013 at 7:14
What steps will reproduce the problem?
1. Use demo app, pagination demo. Wait for initial update
2. scroll to bottom until showing loading item
3. scroll up/down small amounts while waiting for update
What is the expected output? What do you see instead?
Expected to see list update normally, instead get illegalStateException
What version of the product are you using? On what operating system?
latest, android 4.1.1
Please provide any additional information below.
09-22 18:06:24.890: E/InputEventReceiver(10594): Exception dispatching input
event.
09-22 18:06:24.905: E/AndroidRuntime(10594): FATAL EXCEPTION: main
09-22 18:06:24.905: E/AndroidRuntime(10594): java.lang.IllegalStateException:
The content of the adapter has changed but ListView did not receive a
notification. Make sure the content of your adapter is not modified from a
background thread, but only from the UI thread. [in ListView(2131034170, class
com.foound.widget.AmazingListView) with Adapter(class
android.widget.HeaderViewListAdapter)]
09-22 18:06:24.905: E/AndroidRuntime(10594): at
android.widget.ListView.layoutChildren(ListView.java:1538)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
android.widget.AbsListView.onTouchEvent(AbsListView.java:3456)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
android.view.View.dispatchTouchEvent(View.java:7127)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2170)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1905)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2176)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1919)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2176)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1919)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2176)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1919)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2176)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1919)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2176)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1919)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2176)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1919)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2176)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1919)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(P
honeWindow.java:1925)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow
.java:1379)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
android.app.Activity.dispatchTouchEvent(Activity.java:2396)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneW
indow.java:1873)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
android.view.View.dispatchPointerEvent(View.java:7307)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
android.view.ViewRootImpl.deliverPointerEvent(ViewRootImpl.java:3172)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:3117)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:4153)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:4132)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.jav
a:4224)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:171)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
android.view.InputEventReceiver.nativeConsumeBatchedInputEvents(Native Method)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
android.view.InputEventReceiver.consumeBatchedInputEvents(InputEventReceiver.jav
a:163)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
android.view.ViewRootImpl.doConsumeBatchedInput(ViewRootImpl.java:4203)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
android.view.ViewRootImpl$ConsumeBatchedInputRunnable.run(ViewRootImpl.java:4243
)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
android.view.Choreographer$CallbackRecord.run(Choreographer.java:725)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
android.view.Choreographer.doCallbacks(Choreographer.java:555)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
android.view.Choreographer.doFrame(Choreographer.java:523)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:711)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
android.os.Handler.handleCallback(Handler.java:615)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
android.os.Handler.dispatchMessage(Handler.java:92)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
android.os.Looper.loop(Looper.java:137)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
android.app.ActivityThread.main(ActivityThread.java:4931)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
java.lang.reflect.Method.invokeNative(Native Method)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
java.lang.reflect.Method.invoke(Method.java:511)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:558)
09-22 18:06:24.905: E/AndroidRuntime(10594): at
dalvik.system.NativeStart.main(Native Method)
Original issue reported on code.google.com by [email protected]
on 22 Sep 2012 at 5:26
What steps will reproduce the problem?
1. create a header that is taller than a row.
2. the calculation of the scroll of the header is based only on the top row.
3. Since the last row of a section can disappear before the next to last row of
a section is still the 0th child (listview.getChild(0)), the calculation will
not start scrolling until the last row of the section becomes the 0th child of
the listview.
What is the expected output? What do you see instead?
Expect that the view will scroll smoothly.
What version of the product are you using? On what operating system?
Current version on Android 2.3.4.
Please provide any additional information below.
Will supply diff listing which fixes issue shortly.
Original issue reported on code.google.com by [email protected]
on 27 Apr 2013 at 2:56
Steps to reproduce:
1) Set adapter to amazing list view with 30 elements.
2) Scroll list to bottom.
3) Set adapter to amazing list viwe with 10 elements.
4) Crash.
The reason:
AbsListView (which is base class for ListView and thus AmazingListView) in
method setOnScrollListener calls onScroll method of the listener.
AmazingListAdapter itself is the scroll listener. If at the time of setting
listener count of items in list will be more than in adapter, scroll listener
(which is adapter) gets index which is out of bounds, which causes it to crash.
This situation currently is possible because in AmazingListView.setAdapter
setting adapter is performed after setting scroll listener, so, at the time
scroll listener is set, there is old adapter (with old data) in the ListView.
I have attached the patch to fix this problem.
Original issue reported on code.google.com by [email protected]
on 27 Nov 2013 at 7:38
Attachments:
how can i designed header with image and text ?
Original issue reported on code.google.com by [email protected]
on 12 Aug 2014 at 10:27
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.