package yuku.alkitab.base.widget;

import android.text.style.ClickableSpan;
import android.view.View;

public abstract class VerseInlineLinkSpan extends ClickableSpan {
	public interface Factory {
		VerseInlineLinkSpan create(final Type type, final int arif);
	}

	private final Type type;
	private final int arif;
	private final Object source;

	public enum Type {
		footnote,
		xref,
	}

	public VerseInlineLinkSpan(final Type type, final int arif, final Object source) {
		this.type = type;
		this.arif = arif;
		this.source = source;
	}

	@Override
	public final void onClick(final View widget) {
		onClick(type, arif, source);
	}

	public abstract void onClick(final Type type, final int arif, final Object source);
}

@@ -28,16 +28,47 @@
 idget;%0A%0A
+import android.text.TextPaint;%0A
 import a
@@ -744,11 +744,152 @@
 source);
+%0A%0A%09@Override%0A%09public void updateDrawState(final TextPaint ds) %7B%0A%09%09// don't call super to prevent link underline and link coloring%0A%09%09// NOP%0A%09%7D
 %0A%7D%0A

Remove coloring and underlining of verse inline links.