Infinum #AndroidSweets - weekly dev newsletter
We've seen what Android P Slices are and how you can host one. This second part will explore how a Slice is made, and how to create your own SliceProvider.
Confused about generic subtyping? With just a few simple, foundational concepts, almost everything about variance becomes clear. If you're confused about how subtyping works with generics in Kotlin, start here.