Javadoc comments on MainActivity.createAdapter
Clean up checkstyle issues for MainActivity