Add an import to code example in the Java readme to make it clearer how to call a view