baoyongzhang / baoyongzhang/SwipeMenuListView

SwipeMenuListView new Row added is showing First item data

Open
#111 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
3.5k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

When i'm adding an item to the adapter and call notifydatasetchanged, the item added is showing data of the First item in the list.
Even though getView is showing correct info.

Why is the listview not updating correctly?

I tested the code with a regular Listview and it works fine.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue with SwipeMenuListView, an adapter item insertion, and notifyDataSetChanged; compare the adapter's getView output with a regular ListView. Done means the newly added row displays its own data rather than the first item's data after the update.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.