Lessons From Building Android Widgets - Shopify
Sep 22, 2022

Summary
This post details the development of Android widgets for displaying merchant analytics. It covers the decision to use native Android development over React Native due to limitations with RemoteViews, the architecture for fetching fresh data with a short-lived cache to avoid unnecessary network calls, and the UI implementation using RemoteViews and dynamic grid sizes. It also highlights the use of relative time for timestamps to improve clarity.