I am trying to pass data from one activity to another and then on my listview adapter getView to also pull that same data.
sample code
public String getuser() {
return getIntent().getStringExtra("username").toString();
}
and in my listview adapter class
wolog obj = new wolog();
String username = [login to view URL]();
error i get is Attempt to invoke virtual method '[login to view URL] [login to view URL]()' on a null object reference
but it is not null
award me and you'll get the result within minutes buddy.
Also I will offer you mentoring for a week for free , you can ask me anything and I'll be glad to share with you
$20 USD en 1 día
5,0 (11 comentarios)
5,0
5,0
2 freelancers están ofertando un promedio de $28 USD por este trabajo