@LongClick boolean voiceRecordButton() { if (activity instanceof ContentAreaImages.VoicePlayCallBack) { ContentAreaImages.VoicePlayCallBack voicePlayCallBack = (ContentAreaImages.VoicePlayCallBack) activity; voicePlayCallBack.onStopPlay(); } //开始录音... startRecord(); return true; }
@LongClick(R.id.search_button) void onLongClickSearchButton() { if (preferences.focusAndClear().get()) { searchView.clear(); } inputMethogManager.showInputMethodPicker(); searchView.focus(); }
@LongClick(R.id.webView) protected boolean onWebViewLongClicked() { HitTestResult result = webView.getHitTestResult(); if (result != null && (result.getType() == HitTestResult.IMAGE_TYPE || result.getType() == HitTestResult.SRC_IMAGE_ANCHOR_TYPE)) { return showImageTitle(result.getExtra()); } return false; }
@LongClick(R.id.card) protected void cardLongClick() { performLongClick(); }
@LongClick(R.id.card2) protected void card2LongClick() { performLongClick(); }
@LongClick(R.id.image) protected boolean onImageLongClicked() { showImageTitle(article.getImageUrl()); return true; }