Android Studio: Solving Calling startActivity() from outside of an Activity context issue

preview_player
Показать описание
This video shows you how to solve the Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag issue in Android Studio.

I faced this Android Runtime Exception when trying to load a browser intent from a Recycler View.

---------------------------------------------------
Share this video:
--------------------------------------------------

Leave your questions and comments in the section below.

Thank you!

-~-~~-~~~-~~-~-
Please watch: "Tutorial - How to Create an Old Film Look Effect in DaVinci Resolve 16"
-~-~~-~~~-~~-~-
Рекомендации по теме
Комментарии
Автор

You just save me a lot of time man! I've searched everywhere and couldn't find a solution, thank you so much!

Sydewinder
Автор

Thank you so much . Its actually working.

axw-eifn
Автор

If I should add this line, how would i go back to the previous activity??

dshopper
join shbcf.ru