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 |
Tags
- linux
- ReactDOM
- java
- RecyclerView
- component
- .kt
- react
- Retrofit2
- props
- http
- javascript
- ViewGroup
- intent
- LinearLayout
- cardview
- 안드로이드
- function scope
- Eclipse
- Kotlin
- vim
- Git
- RelativeLayout
- view
- block scope
- ConstraintLayout
- Anko SQLite
- android
- layout
- Anro Coroutines
- permission
Archives
- Today
- Total
목록카드뷰 (1)
이것저것 다 개발
RecyclerView + CardView 사용법입니다. RecyclerView는 ListView 보다 더욱 향상되고 유연해진 View 입니다.RecyclerView는 위와 같은 구조로 되어있습니다. 먼저 프로젝트를 생성해줍니다. Alt + Ctrl + Shift + s 를 누르게 되면 아래와 같이 Project Structure 화면이 뜹니다. recyclerview 를 선택한 후 OK 버튼을 누릅니다.마찬가지로 CardView도 추가해줍니다.위와 같이 build.gradle 파일에 dependencies가 추가 됩니다. (CardView 추가된게 빠졌네요..) 프로젝트의 전체적인 구조는 MainActivity, RvAdapter, activity_main.xml, list_item.xml 입니다. M..
Android
2017. 11. 27. 12:45