public void setTarget(final Geocache cache) {
        geocache = cache;
    }
Constructor MUST (!) be of type Context, NOT Activity! Otherwise it can't be instantiated by Android infrastructure. See #11251
main/src/main/java/cgeo/geocaching/apps/navi/NavigationSelectionActionProvider.java