There are only two/three polls showing in Polls in Mess Committee Section
- Dominant language
- Kotlin
- Stars
- 3
- Forks
- 27
- PR merge metrics
- No merged PRs in 30d
Description
**Problem:** Only two or three polls are visible in the **Polls** section of the **Mess Committee** section, even though more polls are expected to be displayed.
**Expected Behavior:** All available polls should be listed in the **Polls** section.
**Steps to Reproduce:**
1. Open the **MessEase** app.
2. Navigate to the **Mess Committee** section.
3. Go to the **Polls** tab.
4. Observe that only two polls are displayed, regardless of the actual number of polls created.
**Possible Causes:**
- Pagination or query limitation in Firestore/Supabase.
- Filtering or visibility issue in the RecyclerView/Adapter.
- Backend not returning all polls.
**Suggested Fixes:**
- Check the query fetching polls to ensure it's retrieving all relevant entries.
- Verify pagination settings and increase the limit if necessary.
- Debug the RecyclerView adapter to confirm if it's correctly binding all received data.
### Concerned Files:
`PollsFragment.kt`
`PollAdapter.kt`
`PollsViewModel.kt`
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the issue in the MessEase app and trace the poll-loading flow through PollsFragment.kt, PollAdapter.kt, and PollsViewModel.kt. Check whether all available polls are returned and bound, then verify in the Polls tab that the complete poll list is displayed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100