Commit graph

16 commits

Author SHA1 Message Date
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
andrekir
fbe79dbfa6 add channelUtilization & airUtilTx to UsersFragment 2022-01-26 22:28:30 -03:00
Kevin Hester
5b653d29f8 reformat per coding conventions 2021-03-29 20:33:06 +08:00
Kevin Hester
3c457a118d cleanup lastHeard in node info (instead of position.time) 2021-03-27 10:55:16 +08:00
Vadim Furman
0d9f31f7fb Pipe rssi to the view 2021-03-22 21:10:58 -07:00
Vadim Furman
8aa7585fdd Merge remote-tracking branch 'upstream/master' 2021-03-19 16:55:22 -07:00
Vadim Furman
5e4470d25e Use default scope for file save and display snr 2021-03-19 14:33:55 -07:00
goga
3e3dc47440 oops, show not only my coords, but neighbour's too 2021-03-18 11:11:37 +05:00
goga
6958e3c86a coords position fix 2021-03-16 11:38:42 +05:00
goga
452bf6f6cb show coordinates with geo url to open in other mapping app 2021-03-16 10:04:01 +05:00
goga
c8107441de display timeAgo properly and show coords in users screen 2021-03-15 23:46:53 +05:00
Kevin Hester
2e30dbcdd0 switching away from kotlin-android-extensions 2020-12-07 20:44:17 +08:00
Ludovic Goix
4a6d88039b Display power plug icon when no battery #99 2020-07-16 08:50:47 -04:00
Ludovic Goix
8f253bdca1 Display last time we receive a transmission from a node #65 2020-07-13 23:49:07 -04:00
Ludovic Goix
d822538c0e Display battery level of remote nodes #64 2020-07-01 08:28:06 -04:00
geeksville
e157bb0140 add beginnings of new messages tab 2020-04-08 16:49:27 -07:00
Renamed from app/src/main/java/com/geeksville/mesh/ui/Users.kt (Browse further)