MCPcopy Create free account
hub / github.com/FongMi/CatVodSpider / copy

Method copy

app/src/main/java/com/github/catvod/utils/Util.java:75–79  ·  view source on GitHub ↗
(String text)

Source from the content-addressed store, hash-verified

73 }
74
75 public static void copy(String text) {
76 ClipboardManager manager = (ClipboardManager) Init.context().getSystemService(Context.CLIPBOARD_SERVICE);
77 manager.setPrimaryClip(ClipData.newPlainText("fongmi", text));
78 Notify.show("已複製 " + text);
79 }
80}

Callers 1

checkCopyMethod · 0.95

Calls 2

contextMethod · 0.95
showMethod · 0.95

Tested by

no test coverage detected