I have an activity that makes a search to a database and if a picture exists, it creates an intent that passes the Parseable to another Activity.. how can I make a condition in this new activity to check if the intent is empty or not? Or maybe to see if any content was passed?
Basically I'm searching for a snippet that tell's me:
-If a picture was passed on the intent I execute a snippet of code on the new activity.
-If no picture was passed on the intent I execute another snippet of code on the new activity.
Can someone help me? Thank you in advance.