class LinkSpan extends ClickableSpan {

    @Override
    public void onClick(View view) {
        final Context context = view.getContext();
        if (context instanceof OnClickListener) {
            ((OnClickListener) context).onClick(this);
            if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
                view.cancelPendingInputEvents();
            }
        } else {
            Log.w(TAG, "Dropping click event. No listener attached.");
        }
    }

    public  LinkSpan(String id);

}