일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 보조정렬
- mapreduce
- es6
- Python
- react
- window
- mybatis
- Spring
- Kotlin
- hadoop
- Sqoop
- GIT
- tomcat
- plugin
- vaadin
- NPM
- xPlatform
- table
- IntelliJ
- MSSQL
- SPC
- Eclipse
- SQL
- SSL
- Express
- R
- 공정능력
- Java
- JavaScript
- Android
- Today
- Total
목록android (61)
DBILITY
https://reqres.in/ Reqres - A hosted REST-API ready to respond to your AJAX requests Native JavaScript If you've already got your own application entities, ie. "products", you can send them in the endpoint URL, like so: var xhr = new XMLHttpRequest(); xhr.open("GET", "https://reqres.in/api/products/3", true); xhr.onload = function(){ conso reqres.in https://koreanjson.com/ Korean JSON { Korean J..
오류가 없는데도 Project Errors 탭에 오류가 있다고 나올때 file메뉴의 Invalid Caches에서 Invalidate and restart 하면 된다.
private val smoothScroller: SmoothScroller by lazy { object : LinearSmoothScroller(binding.root.context) { override fun getVerticalSnapPreference(): Int { return SNAP_TO_START } } } activityMainRecyclerView.apply { layoutManager = LinearLayoutManager(root.context) layoutManager?.apply { smoothScroller.targetPosition = viewModel.items.value.size-1 startSmoothScroll(smoothScroller) } itemAnimator ..
px ( pixel ) dp / dip ( density indepent pixel ) sp / sip ( scale indepent pixel ) dpi ( dot per inch ) in ( inch ) 2.54cm em dp는 해상도에 비례하는 비슷한 크기로 보이게 할 때 사용한다. dp를 사용하면 해상도가 160dpi인 작은 화면에서는 20픽셀이던 버튼 크기를 320dpi인 약간 큰 화면에서는 40픽셀의 크기로 보애게 한다. 따라서, 해상도별로 일일이 크기를 다시 지정하지 않아도 된다. dp는 뷰의 크기 뿐만 아니라 텍스트의 크기를 지정하는 데도 사용된다. sp는 글꼴을 기준으로 한 텍스트 크기를 나타내므로 뷰의 크기에는 사용되지 않는다. 글자를 표시하는 텍스트뷰나 버튼의 텍스트 크기는 sp 단위..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/lC2hZ/btsFFSuTSi9/Kzu0h9OBhgfnptIB6oroz0/img.png)
MutableStateFlow에 MutableList형을 넣어(?) 자료를 추가,삭제,갱신해 봤다. 이게 맞는 건지는 모르겠다. 되는대로 하였음 ViewModel.kt import android.util.Log import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import kotlinx.coroutines.flow.MutableStateFlow import kotlinx.coroutines.flow.StateFlow import kotlinx.coroutines.flow.asStateFlow import kotlinx.coroutines.flow.update import kotlinx.coroutines.launch ..