• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

How to receive result from implicit intent from adapter in fragment? [Solved]

It's truly amazing how many people ask a question, and describe the problem as "it didn't work".
Can you understand how that conveys absolutely no explanation whatsoever of your problem? Meaning that nobody has any chance of answering it.
Someone reading your question will immediately ask, what didn't work?
Did the application crash? What happened? What did you expect to happen?
 
It's truly amazing how many people ask a question, and describe the problem as "it didn't work".
Can you understand how that conveys absolutely no explanation whatsoever of your problem? Meaning that nobody has any chance of answering it.
Someone reading your question will immediately ask, what didn't work?
Did the application crash? What happened? What did you expect to happen?

Hi there, many thanks to point that out. I have edited the post. The application does not crash. I have no idea how to perform that specific action. Thus, I have decided to seek some help. Any resource where i could get more details on this matter is welcome too. Thank you.
 
So when you say "get the data into the ListAdapter", I presume you want to display the received String in a EditText?
Does your ListView row contain a EditText component?

Assuming the above is correct, then one way you could achieve this is to find the EditText, and store it as a member variable in your
WordAdapter class, then your onActivityResult() method can update the EditText component when it receives the data from the child Activity.
 
So when you say "get the data into the ListAdapter", I presume you want to display the received String in a EditText?
Does your ListView row contain a EditText component?


Assuming the above is correct, then one way you could achieve this is to find the EditText, and store it as a member variable in your
WordAdapter class, then your onActivityResult() method can update the EditText component when it receives the data from the child Activity.

That is exactly what I needed! I was so stressed out. Thank you!
 
Back
Top Bottom