Thread
#compose
    Anudeep Ananth

    Anudeep Ananth

    1 year ago
    I have question on how to take screenshots of a composable function programatically :1. In My App, I let users choose an Image from their gallery, then write some text on top of the image in an EditText field 2. Allow them to drag the EditText field across the canvas which is the image that was just chosen 3. Then take a screenshot of the view as a Bitmap and upload the Bitmap to a cloud storage for other users to view I am having trouble with step 3, Is there currently a way to take screenshots ? Taking Screenshots were quite straightforward in xml layouts