Skip to content

Commit

Permalink
Merge pull request #39 from ynagarjuna1995/patch-1
Browse files Browse the repository at this point in the history
Update COMPONENT_DIALOGS_LIST.MD
  • Loading branch information
bevzaanton authored Jul 31, 2017
2 parents 14c84e7 + b75ae62 commit a5b7309
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/COMPONENT_DIALOGS_LIST.MD
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ When your models are ready to be used by adapter, you can simply add them to the
* adapter.setItems(List<DIALOG> items) - replaces existing list with a new dialog list;
* adapter.addItems(List<DIALOG> items) - adds a new dialog list to the end of the list;
* adapter.addItem(DIALOG dialog) - adds a new dialog to the specified position;
* adapter.addItem(int position, DIALOG dialog) - adds one dialog to the end of the list.
* adapter.addItem(DIALOG dialog) - adds one dialog to the end of the list
* adapter.addItem(int position, DIALOG dialog) - adds a new dialog to the specified position.
#### Updating dialogs
If dialog has changed, you can update it by position in list by calling `adapter.updateItem(int position, DIALOG item)` or update it by dialog id by calling `adapter.updateItemById(DIALOG item)`
Expand Down

0 comments on commit a5b7309

Please sign in to comment.