anitab-org / anitab-org/mentorship-android
Filter Functionality Not Working Properly
- Dominant language
- Kotlin
- Stars
- 169
- Forks
- 378
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the bug
In Member Page, the list having users do not have all the users to show in recycler view, due to which Filter Functionality is not working properly.
(If you use logcat to check the size of user list before passing it in recycler view, it generally shows 20 or 40 but the database has way more users than that.)
For example - There are users present in the database with Location 'India', but if you go to Member page and Filter out users with location 'India', you will see a blank page.
Now, if you go to member page and scroll down the recycler view till the end and then apply the same filter you will see all the user with location 'India'.
### To Reproduce
Steps to reproduce the behavior:
1. Go to 'Member Page'
2. Click on 'Filter'
3. Scroll down to 'Location Field'
4. Type 'India'
4. See error
### Expected behavior
After applying filter, we should be able to see relevant data.
### Screenshots
#### Without Scrolling Recycler View Till The End :
|  |  |  |
|:---:|:---:|:---:|
#### After Scrolling Recycler View Till The End :
|  |  |  |  |
|:---:|:---:|:---:|:---:|
### Smartphone (please complete the following information):
- Device: [Samsung M21]
- OS: [Android 11]
### Additional context
Even after filtering out the result after scrolling member page till the end, if you refresh the filter result page, it again goes to blank.
Contributor guide
Assessment
This issue has not been assessed yet.