Closed jainkuniya closed 7 years ago
@vishwesh3 I can't replicate this problem. Can you tell the reason or logcat for this problem. I think you must have some old drafts and in any run from Android Studio data would have been removed causing crash on NullPointerException. (It has happened to me many times on other projects).If this is the case, it happens only on developer's device and no fix is required.
@codingblazer Yes it was due to some old drafts, as soon as i reinstalled app it was solved. But the app is going to be published on play store soon so I think there should be null pointer check before getting child.
mListView.getChildAt(i)
waiting for @opticod review.
I too was unable to duplicate the issue. Closing it for now.
I got some clue when app is crashing Steps to reproduce it If the list of draft is more ( list becomes scrollable ) e.g. if your screen can occupy 7 items and you have more than 10 drafts, on selecting all, it crashes.
@opticod please have a look on it.
@vishwesh3, thanks for it. Its crashing. Re-opened issue. Are you working on this?
Yes I am working on it. Please review #300 so that my new commit doesn't go in that PR.
Work independently in different branches, will merge them independently.
ok. I am almost done will soon create new PR in bug-fixes branch.
closed via #309
In My Drafts page when we select one item (by long pressing) and then click on Select all in actionbar app crashes.