MCPcopy Create free account
hub / github.com/M66B/FairEmail / onClick

Method onClick

app/src/main/java/eu/faircode/email/FragmentRule.java:440–445  ·  view source on GitHub ↗
(View v)

Source from the content-addressed store, hash-verified

438
439 ibSender.setOnClickListener(new View.OnClickListener() {
440 @Override
441 public void onClick(View v) {
442 Intent pick = new Intent(Intent.ACTION_PICK, ContactsContract.CommonDataKinds.Email.CONTENT_URI);
443 pick.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
444 startActivityForResult(Helper.getChooser(getContext(), pick), REQUEST_SENDER);
445 }
446 });
447
448 cbKnownSender.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {

Callers

nothing calls this directly

Calls 15

getChooserMethod · 0.95
showMethod · 0.95
viewFAQMethod · 0.95
getViewLifecycleOwnerMethod · 0.80
getTagMethod · 0.80
setTargetFragmentMethod · 0.80
setActionMethod · 0.80
sizeMethod · 0.65
addMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected