Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/stfalcon-studio/ChatKit i…
Browse files Browse the repository at this point in the history
…nto v0.3.2
  • Loading branch information
bevzaanton committed Oct 1, 2018
2 parents e3bcc47 + afb7da2 commit ca51b2f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/COMPONENT_DIALOGS_LIST.MD
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ When your models are ready to be used by adapter, you can simply add them to the
* adapter.addItems(List<DIALOG> items) - adds a new dialog list 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.
* adapter.upsertItem(DIALOG dialog) - adds one dialog to the end of the list if not exists, otherwise updates the existing dialog.
#### 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 ca51b2f

Please sign in to comment.