This website requires JavaScript.
Explore
Help
Sign In
karolina
/
weserplaner
Archived
Watch
1
Star
0
Fork
0
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
68
Commits
1
Branch
0
Tags
aa5d32e64a14670adedf3b089c3c465649dae482
Commit Graph
2 Commits
Include renames
Author
SHA1
Message
Date
denizk0461
aa5d32e64a
Updated EventPageFragment.kt to have access to its own ViewModel and, by extension, its own reference to the database, which forgoes the need to transport data from EventFragment.kt through StudIPEventPageAdapter.kt to EventPageFragment.kt and allows for filtering for a specific day's items through the database rather than needing to iterate through the list via an extension function manually. Also implemented DiffUtil to perform individual updates rather than calling notifyDataSetChanged() every time a single item has been changed.
2023-04-28 11:18:05 +02:00
denizk0461
ce7b854e8c
StwParser.kt now collects all its data before adding everything to the database all at once, fixing problems where LiveData would update before all transactions were finished; ViewPagers have been updated to use Adapters extending FragmentStateAdapter instead of RecyclerView.Adapter
2023-04-27 21:58:10 +02:00