+check for null

Added check after mAdapter.getView() to make sure adapter haven't
returned null, and in case it did throw meaningful exception