MCPcopy Create free account
hub / github.com/Justson/AgentWeb / with

Method with

agentweb-core/src/main/java/com/just/agentweb/AgentWeb.java:248–253  ·  view source on GitHub ↗
(@NonNull Activity activity)

Source from the content-addressed store, hash-verified

246
247
248 public static AgentBuilder with(@NonNull Activity activity) {
249 if (activity == null) {
250 throw new NullPointerException("activity can not be null .");
251 }
252 return new AgentBuilder(activity);
253 }
254
255 public static AgentBuilder with(@NonNull Fragment fragment) {
256 Activity mActivity = null;

Callers 11

onCreateMethod · 0.95
onCreateMethod · 0.95
onViewCreatedMethod · 0.95
onViewCreatedMethod · 0.95
onViewCreatedMethod · 0.95
onViewCreatedMethod · 0.95
onViewCreatedMethod · 0.95
buildAgentWebMethod · 0.95
onViewCreatedMethod · 0.95
compressFileMethod · 0.80
createResourceRequestMethod · 0.80

Calls 1

getActivityMethod · 0.80

Tested by

no test coverage detected