I have an Activity with a tab host with four tabs. I have a ListView on each of three of the tab pages. Well, I am adding the third one now. When I run my app, I am getting null pointer exceptions because one of the ListViews, the newly added one, if not initialized. I can't see anything different about this ListView from the other ones.
i ran it in the debugger again and it is actually not the listview i added recently that is failing to initialize. it has been working for a while now and then suddenly isn't getting initialized.
You have 2 different names, in the designer you have a ListView named "listNetworksVisible" but you are initializing one named "listNetworksVisible", changing the name solves the problem.