How to use StartActivityResult() outside activity or fragment?
Screenshot of my function▾
Basically i have a function to open camera by intent, and i am trying to add that function to Extention fuction file but getting an error saying "create function startActivityForresult". So can anyone help how to achieve this ?