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

Method log

app/src/main/java/eu/faircode/email/AdapterMessage.java:9026–9039  ·  view source on GitHub ↗
(String msg, long id)

Source from the content-addressed store, hash-verified

9024 }
9025
9026 private void log(String msg, long id) {
9027 Log.i(msg + " id=" + id);
9028 if (BuildConfig.DEBUG || debug)
9029 parentFragment.getView().post(new Runnable() {
9030 @Override
9031 public void run() {
9032 if (properties.getValue("expanded", id)) {
9033 Context context = parentFragment.getContext();
9034 if (context != null)
9035 ToastEx.makeText(context, msg + " id=" + id, Toast.LENGTH_SHORT).show();
9036 }
9037 }
9038 });
9039 }
9040 };
9041
9042 AsyncDifferConfig<TupleMessageEx> config = new AsyncDifferConfig.Builder<>(callback)

Callers 1

areContentsTheSameMethod · 0.95

Calls 3

iMethod · 0.95
postMethod · 0.45
getViewMethod · 0.45

Tested by

no test coverage detected