Meshtastic-Android/app/src/main/java/com/geeksville/mesh
Mike Cumings 654a32c01c Introduce Hilt dependency injection
Uses Hilt to get the database initialization off of the
main thread.

The initial introduction always has a disproportionate
fan-out of boilerplate. In this case, all entry points which
were using UIViewModel needed to be annotated in order to let
the code gen know that they needed to support it.

The PacketRepository is injected into things via the main
thread (e.g., the MeshService) but due to the lazy declaration,
the database isn't hydrated until the DAO is access while on an
IO thread.
2022-02-08 13:57:04 -08:00
..
android add bluetooth_connect permission checks 2022-01-31 21:19:54 -03:00
database Introduce Hilt dependency injection 2022-02-08 13:57:04 -08:00
model Introduce Hilt dependency injection 2022-02-08 13:57:04 -08:00
service Introduce Hilt dependency injection 2022-02-08 13:57:04 -08:00
ui Introduce Hilt dependency injection 2022-02-08 13:57:04 -08:00
ApplicationModule.kt Introduce Hilt dependency injection 2022-02-08 13:57:04 -08:00
DataPacket.kt Merge branch 'master' into master 2021-04-15 12:04:37 +08:00
MainActivity.kt Introduce Hilt dependency injection 2022-02-08 13:57:04 -08:00
MeshUtilApplication.kt Introduce Hilt dependency injection 2022-02-08 13:57:04 -08:00
MyNodeInfo.kt add MyNodeInfo channelUtilization & airUtilTx 2022-01-26 22:26:35 -03:00
NodeInfo.kt Fixes #340 Improve CSV file export 2022-02-03 18:15:06 -08:00