Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Similar events collapsing #2391

Merged
merged 5 commits into from
Oct 17, 2019
Merged

fix: Similar events collapsing #2391

merged 5 commits into from
Oct 17, 2019

Conversation

tronku
Copy link
Member

@tronku tronku commented Oct 13, 2019

Fixes #2390

Changes:
Previously the visibility of the container layout was dependent on the size of the list fetched from the API. So, whenever the list reaches the end of the pagination, due to size 0, the visibility of the layout was set as GONE. Now, I have used a boolean hasSimiliarEvents (initially false) which get updated depending on the size of the list and container layout's visibility depends on this variable. So, even if there are events on any page the variable will be set as true otherwise false. This resolved the issue.

Screenshots for the change:
ezgif-1-c507beb61fa8

@auto-label auto-label bot added the fix label Oct 13, 2019
@fossasia fossasia deleted a comment Oct 13, 2019
Copy link
Member

@liveHarshit liveHarshit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix Travis build

@liveHarshit liveHarshit changed the title fix: Resolve similar events collapsing issue #2390 fix: Similar events collapsing Oct 13, 2019
@iamareebjamal iamareebjamal merged commit 3977c7f into fossasia:development Oct 17, 2019
rcs10 pushed a commit to rcs10/open-event-attendee-android that referenced this pull request Jun 18, 2020
* fix: Resolve similar events collapsing issue fossasia#2390

* Remove non assertion operator

* Resolve indentation error

Signed-off-by: rcs10 <dhanueshrc28@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Similar events layout collapses at end
4 participants