Skip to content Skip to sidebar Skip to footer

Nullpointerexception With Findviewbyid In Variable Definition

I have read the immensely popular thread about Null Point Exceptions but I'm still confused about why I'm getting the error. I am attempting to make sure some EditText's are filled

Solution 1:

You need to call findViewById after calling setContentView in onCreate


Post a Comment for "Nullpointerexception With Findviewbyid In Variable Definition"