Yingding Wang
01/14/2023, 1:04 AMhttps://developer.android.com/static/wear/images/tiles/Templatetype-Data.png▾
John Nichol
01/14/2023, 8:11 AMYingding Wang
01/14/2023, 9:52 AMYingding Wang
01/14/2023, 10:21 AMyschimke
01/14/2023, 10:34 AMcanvasToImageResource
https://github.com/google/horologist/blob/6d119aae93d2b117d23cb39bfd9134f5b61d6f91[…]/main/java/com/google/android/horologist/tiles/canvas/Canvas.ktyschimke
01/14/2023, 10:35 AMYingding Wang
01/14/2023, 10:37 AMyschimke
01/14/2023, 10:37 AMYingding Wang
01/14/2023, 10:39 AMyschimke
01/14/2023, 10:42 AMYingding Wang
01/14/2023, 10:44 AMyschimke
01/14/2023, 10:45 AMyschimke
01/14/2023, 10:45 AMYingding Wang
01/14/2023, 10:46 AMYingding Wang
01/14/2023, 2:44 PMWeeklyGoalTileRenderer.kt
of your horologist fitness3 branch , the Preview doesn’t show for WeeklyGoalTilePreviewWithDrawing()
, does that works? I can see the TilePreview from SampleTileRenderer
just want to ask before I start to change things.yschimke
01/14/2023, 2:49 PMYingding Wang
01/14/2023, 2:54 PMYingding Wang
01/14/2023, 2:57 PMSource code Editor With Preview tab
on the bottom of the Renderer
file, I need to tap open that. Now i see the previews of your tiles. I am all good now.Yingding Wang
01/14/2023, 11:58 PMAtaul Munim
02/06/2023, 10:59 AMYingding Wang
02/06/2023, 12:57 PMDrawScope
function defined, please find an example here.
https://github.com/yml-org/YCharts/blob/main/YChartsLib/src/main/java/co/yml/charts/ui/barchart/BarChart.kt
In terms of the Charty lib, i have opened an issue ticket at https://github.com/hi-manshu/Charty/pull/62,
Himanshu is an Android GDE, he is very supportive to the idea of rewriting the DrawScope function and to put them in a module https://github.com/hi-manshuYingding Wang
02/06/2023, 1:00 PMYingding Wang
02/06/2023, 1:03 PM