-
Notifications
You must be signed in to change notification settings - Fork 753
Problem of header click event when the data set changed #162
Comments
My code was just as below, when I changed the data set and then click one normal item, it will show the month pick dialog as header view is clicked. Part 1. config the adapter. Error occur when normal item is clicked, just perform the same as the header view.
Part 2. implement the
Part 3. To change the data set. Below I used a wrapped method to add new data set. The method inside will call the
I would be very glad if anyone could give me any advice :) |
I found that the library that I used was :
which is the latest version. As the READEME history showed that the bug
was fixed in 0.4.3, but the code was not found in the release version. I noticed the commit was made at 2015-12-11 at
The line above was added to clear the header rect cache, but was not included in the 0.4.3 release version. |
Hello, project owner, I recently used your library in my project. It runs perfectly when there is no click event.
But when I added the click event to header view, after the data set changed, the item may perform unexpected action -- the same as clicking the header.
I guess this may occurred due to the cached views, so is there any method to solve this problem ? If this is one known issue, I'd be glad to make contribution to this project.
The text was updated successfully, but these errors were encountered: