0
I have a class in java that takes all the information and assembles the entire structure of my program. Well, as I do to pick up an Edittext that is in my Ragment and play its content inside the other Activity.
Example:
My Fragment calls a layout that has a comment field. This Fragment is called in another Activity. When saving the data I need to take the data typed by the user in this Fragment Edittext and save. Well I tried to do this, but it always gives error of null Pointer excpetion... I also tried to create an internet and could not. If it was with Eventbus how would it be? I’ve tried searching all over the internet and found nothing to solve the problem
Dude, take a look at this: http://stackoverflow.com/questions/25134645/get-edittext-value-from-fragment .... i will not try to post because I am without how to try to reproduce and also I do not have your code
– Felipe Douradinho
Friend, check the following topic: http://answall.com/a/129380/46186
– Emerson JS