Andrew Aghoghovwia
- Forum posts: 1
Nov 6, 2016, 4:45:12 AM via Website
Nov 6, 2016 4:45:12 AM via Website
Greetings everyone... I'm learning to program Android apps...and I'm stuck with the deprecated onAttach(Activity) method...I get a nullpointer exception..when I try doing this....
msend=(SendText) context;
onAttach....
Then later using the msend in my button listener..
msend.send(message);
Please help....don't know what to do... Thanks.
Recommended editorial content
With your consent, external content is loaded here.
By clicking on the button above, you agree that external content may be displayed to you. Personal data may be transmitted to third-party providers in the process. You can find more information about this in our Privacy Policy.