added initializer check
Added @AndroidFragment annotation so that @AndroidView can work
seamlessly in a Fragment