On 12 Oct 2017, at 23:43, audrius.butkevic...@gmail.com wrote: > > Your example has a MainActivity.java. > As I said, this is a Go application, and as it stands it has no Java, so it > doesn't have (and doesn't intend to have) a main activity. > Also, your initialization (Hello.initContentProvider) happens from Java (not > from Go), so my question is still unanswered of how do do all of this purely > from the Go side without reverse bindings.
Maybe a solution in this case is to refactor the Go program to be a library (just moving package main to package app, and main.main() -> app.Run() or something) and then using dependency injection from the Java side. //jb -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.