UdhayaBalaji / androidannotations

Automatically exported from code.google.com/p/androidannotations
0 stars 0 forks source link

Add null checkers for view injection & binding #112

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Now that injection happens everytime setContentView happens, there might be 
cases in which we want to change to contentview, and therefore inject different 
fields. That means that some views may not exist, and findViewById may return 
null.

We must add null checking for anything view related.

For instance : binding a listener would currently throw a NullPointerException 
if the view doesn't exist in the layout.

Original issue reported on code.google.com by py.ricau on 2 Oct 2011 at 1:37

GoogleCodeExporter commented 8 years ago
This issue was closed by revision d1e791b0126a.

Original comment by athomas.nc on 19 Oct 2011 at 9:43

GoogleCodeExporter commented 8 years ago
This issue was closed by revision d1e791b0126a.

Original comment by athomas.nc on 18 Nov 2011 at 9:08

GoogleCodeExporter commented 8 years ago
This issue was closed by revision d1e791b0126a.

Original comment by athomas.nc on 18 Nov 2011 at 10:52

GoogleCodeExporter commented 8 years ago
This issue was closed by revision d1e791b0126a.

Original comment by athomas.nc on 18 Nov 2011 at 11:09