github MakD/AFinity v0.0.3-alpha

latest releases: v0.8.3-beta, v0.8.2-beta, v0.8.1-beta...
6 months ago

Release Notes - v0.0.3-alpha

Playback Improvements

Series Playback Fix

Fixed a critical issue where clicking the play button on TV series in the hero carousel would fail to start playback. The app now correctly:

  • Identifies the next episode to watch (resumes from where you left off, or starts the next unwatched episode)
  • Handles edge cases when all episodes are watched (restarts from the beginning)
  • Maintains proper playback position tracking

Performance Enhancements

Episode List Paging

Implemented pagination for episode lists to dramatically improve performance when browsing seasons with many episodes:

  • Episodes are now loaded in batches rather than all at once
  • Smoother scrolling and reduced memory usage
  • Loading indicators provide visual feedback during data fetches
  • Particularly beneficial for anime series with 50+ episodes per season

Technical Details:

  • New EpisodesPagingSource handles efficient data fetching
  • EpisodeListViewModel refactored to use Jetpack Paging 3
  • UI components updated to work with LazyPagingItems

Data Improvements

Added additional metadata fields to improve content display:

  • CHILD_COUNT - Number of direct children (e.g., episodes in a season)
  • RECURSIVE_ITEM_COUNT - Total nested items (e.g., all episodes in a series)

These fields enable better UI elements like episode counts and progress indicators.

Technical Changes

  • Refactored MainNavigationViewModel to include resolvePlayableItem() method
  • Enhanced HomeScreen play button logic with proper coroutine handling
  • Updated field sets in FieldSets.kt for optimized API queries

Version: 0.0.3-alpha
Previous Version: 0.0.2-alpha

Full Changelog: v0.0.2-alpha...v0.0.3-alpha

Don't miss a new AFinity release

NewReleases is sending notifications on new releases.