As we know, we can create bitmap from View. But is it possible to create bitmap on background class like WorkManager's Worker?
My requirement is, I have to show notification with image on daily basis, this image will generated on background with dynamic data. For this I have a Layout with TextViews, I tried to bind data to this TextViews and then converted this layout as bitmap, but it creates empty bitmap.