Comments (18)
Wrapping the adding/updating code in PostExecute in runOnUiThread has no effect
Original comment by [email protected]
on 22 Sep 2012 at 5:29
from android-amazing-listview.
Calling listView.requestLayout instead of notifyDataSetChanged fixes the problem
Original comment by [email protected]
on 22 Sep 2012 at 6:33
from android-amazing-listview.
listView.requestLayout this solve the problem but still y its not working for
notifyDataSetChanged .
Original comment by [email protected]
on 11 Dec 2012 at 3:49
from android-amazing-listview.
I am experiencing the same issue, and even forcing listView.requestLayout
resolves the issue. I'm testing on a Nexus 7 tablet with Android 4.2. If I
scroll up and down while my AsyncTask is grabbing the next chunk of data, the
app crashes as soon as the data adapter is updated with the new elements. The
adapter update is called from my AsyncTask.onPostExecute, and I am calling
notifyDatasetChanged() right after the data is updated. I have removed the
loading view so the app won't crash, and replaced it with a loading view drawn
on top of the listview instead. It would be good to get a resolution for this
though. The footer view loading indicator is nicer than my solution.
Original comment by [email protected]
on 30 Jan 2013 at 2:25
from android-amazing-listview.
I think this issues stems from the fact that getAdapter is returning the
AmazingAdapter instead of the wrapped HeaderListViewAdapter causing a
difference in count at times. I simply removed the getAdapter method from
AmazingListView and haven't got the exception since.
Original comment by [email protected]
on 20 Mar 2013 at 8:30
from android-amazing-listview.
Confirms removing getAdapter in AmazingListView solves this annoying bug.
Original comment by [email protected]
on 25 May 2013 at 10:44
from android-amazing-listview.
[deleted comment]
from android-amazing-listview.
Confirmed removing getAdapter in AmazingListView solves this annoying bug.
Original comment by [email protected]
on 5 Aug 2013 at 3:25
from android-amazing-listview.
Confirmed removing getAdapter in AmazingListView solves this annoying bug.
Original comment by [email protected]
on 21 Aug 2013 at 8:07
from android-amazing-listview.
Confirmed removing getAdapter in AmazingListView solves this annoying bug. =)
Original comment by [email protected]
on 24 Aug 2013 at 3:25
from android-amazing-listview.
Damn it! I wish i come here earlier!
Confirmed removing getAdapter in AmazingListView solves this annoying bug.
Original comment by [email protected]
on 31 Oct 2013 at 8:54
from android-amazing-listview.
Confirmed removing getAdapter in AmazingListView solves this annoying bug.
Original comment by [email protected]
on 3 Dec 2013 at 8:49
from android-amazing-listview.
Confirmed removing getAdapter in AmazingListView solves this annoying bug.
Original comment by [email protected]
on 6 Dec 2013 at 11:26
from android-amazing-listview.
Confirmed removing getAdapter in AmazingListView solves this annoying bug.
Original comment by [email protected]
on 9 Dec 2013 at 1:17
from android-amazing-listview.
Thanks a lost. I spent hours to get it works and finally found this blessing
solution to fix issue.
Original comment by [email protected]
on 21 Dec 2013 at 5:16
from android-amazing-listview.
That s the solution!!!!!!!!!! Cheeeeerss!!
Original comment by [email protected]
on 26 Jan 2014 at 5:03
from android-amazing-listview.
That's the Solution!!!! Gracias xD
Original comment by [email protected]
on 16 Mar 2014 at 9:14
from android-amazing-listview.
Confirmed removing getAdapter in AmazingListView solves this annoying bug.
Original comment by [email protected]
on 4 Jun 2014 at 11:52
from android-amazing-listview.
Related Issues (10)
- Characters not compatible with your app HOT 1
- Patch for /trunk/AmazingListView/src/com/foound/widget/AmazingListView.java
- the first header can't respond to click event when scrolled up HOT 2
- Adding header on top
- Pair.java not found, getOneSection Method not found neither...
- header taller than row causes bumpy scrolling
- Crash in case if list scrolled to bottom and new adapter set with less data
- InputDispatcher error : "Consumer closed input channel or an error occurred. events=0x8" while scrolling.
- header designing
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 android-amazing-listview.