Instead of the lambda you would instantiate the RecyclerViewClickListener yourself. So after the equals sign: = new RecyclerViewClickListener(……); You should be able to fill it in with autocomplete there without the lambda, and then handle it like any other click listener. Hope that makes sense.
Sorry for the confusion, Util would be a class you make yourself. I left out the implementation here since it depends on your login code. That method should return the authentication token needed for your server to log in (if you use auth tokens).
Hope that helps.
I would suggest posting an issue on their github: http://www.github.com/greenrobot/ObjectBox/issues
I think what you did should work. It’s possible there’s a bug or maybe just a misunderstanding, I’m sure they can help though.
The visualization tools are being discussed here: https://github.com/objectbox/objectbox-java/issues/6 You can find a few simple ones there, but they are working on an official one.
As for the file, you can specify any file you want for the database, so you should be able to do what you’re suggesting. I haven’t tried it…
You can store any type, see here for more info: http://objectbox.io/documentation/custom-types/
The impact on apk size they say is about 1.5 MB from their FAQ here: http://objectbox.io/faq/
Good point. I’ve been doing the same thing for a while now, so I hadn’t really thought about improving it. One thing I would point out though, is that you can’t reference
mListener inside the static view holder class. You’d have to remove the static modifier for that to work.