PixelDroid-App-Android/app/src/main/java/com/h/pixeldroid/utils
Matthieu 21925e7af4 Dependency injection
Configure dependency injection for API and the database. Uses Dagger (dagger.dev)

The API is held in a holder, so that it can be invalidated or recreated as needed.

Big refactor of the feeds, this introduces a bit more duplication of code (some very similar methods that differ only in the types or minor details), but now the inheritance makes more sense and there is less "forcing" to make the inheritance work (for example: no more casting Int to String just to have the right type for the key)
It should be easier to work with the feeds in the future, maybe we'll find better abstractions later on.
2020-07-26 20:56:01 +02:00
..
customSpans Reblogging and HTML text (#107) 2020-04-23 17:48:45 +02:00
DBUtils.kt Dependency injection 2020-07-26 20:56:01 +02:00
HtmlUtils.kt Offline mode part 2 - Store posts in the DB (#209) 2020-06-05 20:14:57 +02:00
ImageConverter.kt Better sensitive profiles (#230) 2020-06-05 20:44:57 +02:00
ImageUtils.kt WIP: Translatable text (#164) 2020-05-21 15:22:57 +02:00
NonSwipeableViewPager.kt Edit photos (#114) 2020-05-08 10:53:56 +02:00
PostUtils.kt Dependency injection 2020-07-26 20:56:01 +02:00
ProgressRequestBody.kt enable creating albums (#229) 2020-06-05 23:49:28 +02:00
SpaceItemDecoration.kt Edit photos (#114) 2020-05-08 10:53:56 +02:00
SquareLayout.kt enable creating albums (#229) 2020-06-05 23:49:28 +02:00
ThemeUtils.kt Add upload progress bars and error handling to PostCreationActivity (#191) 2020-05-21 19:31:41 +02:00
Utils.kt multiAccount functionnality (#168) 2020-05-19 09:49:34 +02:00