Answers for "when i click on a image it should take me to the previous activity in java"

0

kotlin return to previous activity

if you use fragment u should use

getActivity().onBackPressed();
if you use single activity u can use

finish();
Posted by: Guest on May-17-2020

Code answers related to "when i click on a image it should take me to the previous activity in java"

Browse Popular Code Answers by Language