ylliX - Online Advertising Network

Problem creating a Drawable instance in compose

I need to migrate my old java code that creates a Drawable instance which is a gradient with a starting color in the upper part and a finishing color in the bottom part. It worked perfectly in java, but after migrating the code to kotlin and compose, getDrawable function returns an empty transparent drawable: override […]