made sure class is always initialized by checking so in the onfisishedinflate
Merge pull request #3 from Lummer/master

made sure class is always initialized by checking so in the onfisishedin...