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

Usage history part 3/3: Add history screen #47

Merged
merged 7 commits into from
Nov 16, 2024
Merged

Conversation

vinaygopinath
Copy link
Owner

This adds a new "History" screen accessible from the main screen by clicking "View all" in the recent history records section (with the title "History").

This uses the paging3 library to set up a PagingSource for DetailedActivity to fetch records in reverse chronological order using pagination.
This updates LogActionUseCase to return the newly created Activity, if any, back to the ViewModel so that it can be associated with other actions. This ensures that the same "Manual input" activity is associated with multiple actions, like opening with WhatsApp *and* opening with Signal
@vinaygopinath vinaygopinath merged commit d9da8e0 into main Nov 16, 2024
3 checks passed
@vinaygopinath vinaygopinath deleted the usage-history-screen branch November 16, 2024 04:57
@vinaygopinath vinaygopinath added this to the 1.3.0 milestone Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant