Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add enableSelectionMode for DialogList #42

Open
wants to merge 118 commits into
base: v.0.2.1
Choose a base branch
from
Open

Add enableSelectionMode for DialogList #42

wants to merge 118 commits into from

Conversation

zipangulu
Copy link

It would be very useful to add also to DialogList the functionality "enableSelectionMode" so that you can delete and perform other actions on the dialogs

mradzinski and others added 30 commits May 2, 2017 19:56
This should close issue #29. I believe that providing the user with the whole list of DIALOG objects is a bit "dangerous", users can modify that collection and feed it back to the adapter and given the current implementation that's not something we might want. So having a ```getDialogPosition()``` method should solve the case when the user needs to have the current adapter position of a certain dialog.
Just small change here 

`* 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.`
Add TypingListener to docs
…ppropriate

Useful when connecting adapter directly to streaming data source
Changed update methods to return boolean
Update COMPONENT_DIALOGS_LIST.MD
A typographic error was made in the documentation for the DialogList component under the 'Prepare your model' section.
"IDialog" was written as "IDealog".
This pull request corrects that error.
Add the option for nullable to distinguish between a message and image. Useful for when using Kotlin.
If some empty list passed to insert at the end, will crash with a indexOutOfBounds.

To avoid this, it's recomended to add a check to see if the list is empty or not. And adding a @NotNull anotation to the param will be useful to use it with Kotlin.

If you don't like a "fast" return, do it with a tipical if.
bevzaanton and others added 30 commits September 28, 2018 17:35
Enable payloads for custom content types
Update documentation to add upsertItem method
- List<Wrapper> items
- method `generateDateHeaders`
Added upsert method to move a specific item to the start.
Migrated to AndroidX and Java 8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.