Skip to content

Instantly share code, notes, and snippets.

@rjrjr
Created May 6, 2015 04:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rjrjr/dea04ee90dfe90541e2d to your computer and use it in GitHub Desktop.
Save rjrjr/dea04ee90dfe90541e2d to your computer and use it in GitHub Desktop.
package mortar;
import android.view.View;
import mortar.bundler.BundleService;
public class NewViewPresenter<V extends View> extends NewPresenter<V> {
@Override protected final MortarScope extractScope(V view) {
return MortarScope.getScope(view.getContext());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment