androidx.core.widget.NestedScrollView.fullScroll()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(1.3k)|赞(0)|评价(0)|浏览(138)

本文整理了Java中androidx.core.widget.NestedScrollView.fullScroll()方法的一些代码示例,展示了NestedScrollView.fullScroll()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。NestedScrollView.fullScroll()方法的具体详情如下:
包路径:androidx.core.widget.NestedScrollView
类名称:NestedScrollView
方法名:fullScroll

NestedScrollView.fullScroll介绍

暂无

代码示例

代码示例来源:origin: AlexMofer/ProjectX

@Override
public void onLayoutChange(View v, int left, int top, int right, int bottom,
              int oldLeft, int oldTop, int oldRight, int oldBottom) {
  mVContent.fullScroll(View.FOCUS_DOWN);
}

代码示例来源:origin: jruesga/rview

private void addPendingAttachments(Attachment attachment) {
  ModelHelper.addAttachment(attachment, mAttachments);
  updateReviewInfo(mResponse);
  mUiHandler.post(() -> mBinding.nestedScroll.fullScroll(View.FOCUS_DOWN));
}

代码示例来源:origin: jruesga/rview

private void performReplyComment(int position) {
  String currentMessage = mBinding.reviewInfo.reviewComment.getText().toString();
  String replyMessage = mMessageAdapter.getMessage(position);
  String msg = StringHelper.quoteMessage(currentMessage, replyMessage);
  mBinding.reviewInfo.reviewComment.setText(msg);
  mBinding.reviewInfo.reviewComment.setSelection(msg.length());
  mBinding.nestedScroll.fullScroll(View.FOCUS_DOWN);
}

代码示例来源:origin: jruesga/rview

mBinding.nestedScroll.fullScroll(View.FOCUS_DOWN);
  mBinding.fastScroller.hide();
});

相关文章