Posts tagged “ViewGroup”:
Finding all View-IDs of an Android UI
Recently I stumbled upon a NullPointerException caused by using findViewById(R.id.whatever) which returned null for this id. But the id was in the layout file. And I didn’t change the layout programmatically. Furthermore other widgets were found without any problem. Hmm – what’s going on? To analyze the problem I thought about a way to find […] Continue Reading “Finding all View-IDs of an Android UI”