Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

In the adapters (for AdapterViews and RecyclerView) it is important to check if the position is valid #57

Closed
smaugho opened this issue Feb 7, 2017 · 1 comment
Assignees
Labels

Comments

@smaugho
Copy link
Member

smaugho commented Feb 7, 2017

Lists can change externally, if this is done during updating the ListView, the application will crash for trying to get a method in a different position (or nonexistent one). It is necessary to check if the position is a valid one in the adapters.

@smaugho smaugho added the bug label Feb 7, 2017
@smaugho smaugho self-assigned this Feb 7, 2017
@smaugho
Copy link
Member Author

smaugho commented Feb 8, 2017

The problem was solved, using an internal List for the adapter, now, the adapter doesn't rely in the list outside, and what the programmer does there, doesn't affect the internal list.. This method increase the memory consumption, but ensure that the interface works correctly.

smaugho added a commit that referenced this issue Mar 7, 2017
…notation, Close #79

Change Action $GetModel to $LoadModel, Close #77
Change @Populator to @populate and @recollector to @recollect, Close #76
Change the name of @JsonSerializedModel to @jsonmodel, Close #68
Method Get with Fields should put the passed fields as an from URL encoded, Close #66
Add Failed Action Selector for Events, Close #64
Add the Event fields to the Action Selector for easy access, Close #63
Pass the created event as parameter to the Finished Action Selector, Close #62
Array declarations not working in Actions, Close #61
$GetModel and $PutModel always populate and recollect, Close #59
Crash calling fragment in Actions, Close #58
In the adapters (for AdapterViews and RecyclerView) it is important to check if the position is valid, Close #57
$Notification action doesn't have setStyle method, Close #56
@PutModel and @GetModel returning to Main Thread, Close #54
@JsonSerializedModel improvements, Close #53
@OverrideAction to directly override methods, Close #39
"withResult" for Activity Actions, Close #36
NavigationDrawer Error for latest support libraries, Close #1
@smaugho smaugho closed this as completed Mar 7, 2017
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant