Skip to content

is it possible to add parameter in loadMoreData callback? #404

@seoyongl

Description

@seoyongl

When I load initiall messages, I fetch messages from unread messages if user does not use my app for long time.
For example, the user has 100 unread messages in a chat
and I fetch first 30 unread messages but 70 message are still remained in database.

At this case, I want to fetch next 30 unread message in loadMoreData callback if it gives scrolledTop parameter.
Something like :
loadMoreData (bool scrolledTop).

If scrolledTop is true , it mean that user scrolled up ,
but scrolledTop is false, it mean that user scrolled down.

Otherwise, if there are 2 callbacks (loadPreviousData and loadNextData) for it. it would be great.

If it gives the option in the callback method, developer will get more ability to fetch message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions