If you'd like to implement efficient networking fo...
# compose-wear
y
If you'd like to implement efficient networking for a Wear app. The Confetti open source app uses the Horologist network-awareness library, which has typically minimal documentation here https://google.github.io/horologist/network-awareness/. So a sample PR https://github.com/joreilly/Confetti/pull/1001/files.
🚀 6
🎊 4
👀 1
👍🏼 1
Main features • Integration with OkHttp Call.Factory • Logging of traffic if you care about seeing it • A single point to implement logic such as avoid LTE • Rules such as avoiding requesting network for images
👌🏼 1
<https://confetti-app.dev/images/avatar/${conf}/${id}?size=Watch>