This repository was archived by the owner on Apr 20, 2021. It is now read-only.

Description
Hi, as of AndroidX supports lifecycle and Activity result listening (currently rc 'androidx.activity:activity:1.2.0-rc01') it seemed that this library could be replaced. But so far difference is that lifecycle listeners can be add only before onResume() what requires quite some changes to old code bases, when you want for example catch onActivityResult() from dialog (eg. open android file chooser). And dialog is open from menu, which is created by onCreateOptionsMenu().
Am I missing something or is there possibility do add lifecycle listener after onResume?
ComponentActivity
ActivityResultCaller#registerForActivityResult