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 |
Tags
- plugin
- MSSQL
- IntelliJ
- GIT
- R
- Android
- Express
- 보조정렬
- window
- SPC
- NPM
- Python
- SSL
- Eclipse
- table
- xPlatform
- hadoop
- mybatis
- tomcat
- react
- vaadin
- Sqoop
- JavaScript
- mapreduce
- es6
- 공정능력
- Java
- Kotlin
- SQL
- Spring
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.get
}
});
/*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' 카테고리의 다른 글
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 |
android downloded apk file version check and install (0) | 2024.05.09 |
Comments