Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I’m sure there are other ways but honestly 99% of the time intent is the way to go. When working with fragments interfaces are common too. What type of data are you trying to pass between activities?
-
Giolin46yThank you for your answer. I need to transfer only strings, but I need to know all methods which are possible to transfere data between activities.
-
@Giolin well there might be other methods but for Strings you will most likely want to use intents. They will be quickest and easiest.
Related Rants
Hi guys,
i want do develop an android app, but i have an important question.
How many ways are there to transfer datas between two or more activities?
I know just this one: intent.putExtra()
Can anyone help me?
Thanks in advance
question
studio
android
activity