Skip to content

There are only two/three polls showing in Polls in Mess Committee Section #6

@theayushyadav11

Description

@theayushyadav11

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestimpact-highmulti-assigneesCan be assigned to multiple contributers at the same time.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions