Skip to content

fix(ui): Improve media card interactions and fix startup dialog stacking#1029

Merged
wax911 merged 5 commits into
developfrom
fix/ui-state-callbacks-pagination
Jun 10, 2026
Merged

fix(ui): Improve media card interactions and fix startup dialog stacking#1029
wax911 merged 5 commits into
developfrom
fix/ui-state-callbacks-pagination

Conversation

@wax911

@wax911 wax911 commented Jun 10, 2026

Copy link
Copy Markdown
Member

Changes

  • Media Card Interactions: Attach click listeners to all media card child views to fix browse card body taps. Routes card clicks back to itemView container for consistent handling.

  • Startup Dialog Stacking: Reorder fresh install and changelog dialog checks in MainActivity to prevent both dialogs from showing simultaneously, eliminating ANR risk.

  • Asset Loading: Optimize changelog asset read using bufferedReader instead of byte-by-byte reading for improved performance.

Files Modified

  • app/src/main/java/com/mxt/anitrend/adapter/recycler/index/MediaAdapter.kt
  • app/src/main/java/com/mxt/anitrend/util/DialogUtil.kt
  • app/src/main/java/com/mxt/anitrend/view/activity/index/MainActivity.kt

… state

- Fix stuck pull-to-refresh by making animation callbacks reliable
- Fix comment pagination using correct loading state
- Fix getTopFavouriteYears() returning wrong cached list
- Add regression test for presenter bug
@codacy-production

codacy-production Bot commented Jun 10, 2026

Copy link
Copy Markdown

Not up to standards ⛔

🔴 Issues 2 medium

Alerts:
⚠ 2 issues (≤ 0 issues of at least minor severity)

Results:
2 new issues

Category Results
Performance 2 medium

View in Codacy

🟢 Metrics 0 complexity · -2 duplication

Metric Results
Complexity 0
Duplication -2

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

- Attach click listeners to all media card child views to fix browse card body taps
- Route card clicks back to itemView container for consistent handling
- Reorder fresh install and changelog dialog checks to prevent stacking
- Optimize changelog asset read using bufferedReader instead of byte-by-byte reading
@wax911 wax911 changed the title fix(ui): Fix animation callbacks, comment pagination, and cached list state fix(ui): Improve media card interactions and fix startup dialog stacking Jun 10, 2026
@wax911 wax911 enabled auto-merge (squash) June 10, 2026 17:50
@wax911 wax911 merged commit f82a08a into develop Jun 10, 2026
9 of 10 checks passed
@wax911 wax911 deleted the fix/ui-state-callbacks-pagination branch June 10, 2026 17:51
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.

1 participant