# Android MessageCollectionHandler issue

**URL:** <https://community.sendbird.com/t/android-messagecollectionhandler-issue/5707>\
**Category:** Android\
**Tags:** group-channel, message, chatsdk\
**Created:** [October 3, 2022, 11:11am UTC](https://community.sendbird.com/t/android-messagecollectionhandler-issue/5707 "2022-10-03T11:11:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abd](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/abd/32/2373_2.png) [@Abd](https://community.sendbird.com/u/Abd)\
**Post date:** [October 3, 2022, 11:11am UTC](https://community.sendbird.com/t/android-messagecollectionhandler-issue/5707/1 "2022-10-03T11:11:19Z")

</div>

Hi!

I would like to ask for `MessageCollectionHandler` for the callback `onMessagesAdded` is returning old messages, even the first init it will return a list of old messages as well.  
I would like to know in what condition the callback will get called.

Thanks
