Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 |
Tags
- window
- vaadin
- react
- SQL
- mybatis
- JavaScript
- R
- mapreduce
- xPlatform
- Spring
- Kotlin
- IntelliJ
- MSSQL
- GIT
- 보조정렬
- NPM
- Android
- Eclipse
- table
- Python
- 공정능력
- SSL
- Java
- plugin
- hadoop
- SPC
- Sqoop
- Express
- es6
- tomcat
Archives
- Today
- Total
DBILITY
android java ScrollView scroll 본문
반응형
binding.scrollViewHistory.post(new Runnable() {
@Override
public void run() {
//binding.scrollViewHistory.setScrollY(textView.getBottom());
binding.scrollViewHistory.setScrollY(binding.bmiHistory.getBottom());
}
});
/*if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q)
binding.scrollViewHistory.scrollToDescendant(textView);
else
binding.scrollViewHistory.fullScroll(ScrollView.FOCUS_DOWN);*/
InputMethodManager inputMethodManager = (InputMethodManager) getApplicationContext().getSystemService(Context.INPUT_METHOD_SERVICE);
inputMethodManager.hideSoftInputFromWindow(v.getWindowToken(), 0);
kotlin에서 할때는 주석처리된 것처럼 해서 잘되었던지 기억이 안난다.
반응형
'android > java' 카테고리의 다른 글
| java 난수 생성 (0) | 2024.12.10 |
|---|---|
| android ViewPager2 (0) | 2024.11.19 |
| android java interface lambda vs anonymous reference 'this' meaning (0) | 2024.11.14 |
| java @SuppressWarnings (0) | 2024.05.23 |
| android ANR, Thread, Handler, runOnUiThread, View Handler, AsyncTask, RxJava, Callback Interface (0) | 2024.05.23 |
Comments