• Post Reply Bookmark Topic Watch Topic
  • New Topic

Why is my pointer NULL  RSS feed

Stephen Black
Ranch Hand
Posts: 52
Chrome MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have been given this exercise to do as quoted
"Create and activity with two layouts . In one , implement a List fragment. when a user clicks an Item in the list Fragment , change the fragment displayed in the second layout."

but line 35 or most likely line 36 throws a Null pointer Exception
This makes me think that the TextView cannot be referenced because it is in another layout?
This then makes me wonder how I can reference the text view called textViewChange
This also makes me think that I should include a copy of the xml

Thanks in advance
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!