I want to display the app screen on another display( Not a screen mirror). Another display is connected to mobile through USB C3.1 - HDMI. (Like TV, Monitor ).
While displaying one screen to TV, Same time I want to use another screen of the app on my mobile. (The Same time 2 screens will be active 1 screen in mobile and another on TV)
Use case example: If I am playing a game, GamePlay view will display on the TV and Gameplay buttons will display on my mobile.
Example: https://www.samsung.com/us/explore/dex/
Please suggest a way to implement such a feature in my android app.