I am trying to integrate Chrome Custom Tabs in my Android App. Here is the requirement where I am stuck:
1. List of pdfs being shown in GridView. The user when clicks on any pdf will be opened on custom tabs. Here I will pass the position of item in GridView.
2. This position will be used for selection. There will be a SELECT
action on custom tab. When the user clicks on SELECT, the custom tab should close passing the position back to the activity so that I can mark that item in GridView selected.
Now the problem is in closing the Custom Tab and passing the data back to activity. Any help in this regard will be highly appreciated.