denizk0461
|
a5c66aaaff
|
FetcherActivity.kt now has a bottom app bar with useful actions and extends FragmentActivity instead of AppCompatActivity to show a tutorial bottom sheet
|
2023-05-02 22:35:19 +02:00 |
|
denizk0461
|
079e66ad50
|
Added app language support (I think); fragments rely on Bundles instead of constructor parameters to get data, mitigating a source of crashes
|
2023-04-30 22:47:59 +02:00 |
|
denizk0461
|
7243df0f06
|
Further error handling. Also given the user the option to colour dietary preference icons. Colours have partially been derived from those used on stw-bremen.de but have all been processed through the theme builder on m3.material.io
|
2023-04-29 22:26:26 +02:00 |
|
denizk0461
|
2bf340bdff
|
TabLayoutMediator has been re-instantiated, hopefully in a form that is less crash-prone. Crashes will also be handled now in StwParser.kt
|
2023-04-29 10:56:52 +02:00 |
|
denizk0461
|
509a0434c5
|
Possibly fixed-for-good a bug that caused events to be fetched but not stored properly in the database; I believe this was caused by FetcherActivity.kt sequentially executing nukeEvents() and insertEvents(), but doing both asynchronously, and individually, which could mean that insertEvents() finishes before nukeEvents() and therefore nukeEvents() would delete the old events as well as the new ones. This doesn't seem entirely logical to me, as no ConflictStrategy has been configured, and inserting new events before the old ones have been cleared (since they both start their primary keys at 0) would have crashed the app.
|
2023-04-28 15:14:50 +02:00 |
|
denizk0461
|
ee0934f29b
|
Fixed a bug hiding all Stud.IP events from the user's view by... renaming the database table. yeah. i don't even know anymore.
|
2023-04-28 10:30:30 +02:00 |
|
denizk0461
|
ccd77a5daf
|
Made further documentation and safety changes. Scraper classes (StudIPParser.kt, StwParser.kt) still need to be checked for safety.
|
2023-04-27 20:27:42 +02:00 |
|
denizk0461
|
6b1d77dfb3
|
Implemented functionality to switch canteens. UI for this is not fully implemented.
|
2023-04-25 15:38:30 +02:00 |
|
denizk0461
|
840c8f1db7
|
Implemented snackbar telling the user that an error has occurred when fetching their schedule through FetcherActivity.kt. Also made some slight additions to the documentation
|
2023-04-25 12:02:25 +02:00 |
|
denizk0461
|
2534849329
|
Added comments and cleaned up code in activities and StudIPEvent.kt
|
2023-04-21 15:42:21 +02:00 |
|
denizk0461
|
d55a304cec
|
Moved the fetching task to a separate activity; changed the time attributes in StudIPEvent.kt to strings
|
2023-04-12 18:58:10 +02:00 |
|