Skip to content

Commit

Permalink
update README.md for codinginflow#1
Browse files Browse the repository at this point in the history
  • Loading branch information
comye1 committed Apr 29, 2021
1 parent fa75c41 commit 2136eac
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,38 @@
Watch the course here: https://www.youtube.com/playlist?list=PLrnPJCHvNZuCfAe7QK2BoMPkv2TGM_b0E
https://github.com/codinginflow/MVVMTodo

# #1 Layouts & Room Entity

- 꿀팁
-- ctrl + alt + L : 코드 정리 (formatting)
-- CoordinateLayout : FAB를 위해
-- Parcelable Class : 프래그먼트간 전달을 위해

## fragment_tasks.xml
- CoordinatorLayout : parent
- RecyclerView
- FloatingActionButton

## item_tasks.xml
- RelativeLayout : parent
-- layout_alignParentStart/End/Top/Bottom
-- layout_alignStart/End/Top/Bottom
-- layout_toStartOf/toEndOf/toTopOf/toBottomOf
- CheckBox
- TextView
-- maxLines
-- elilipsized="end" **If set, causes words that are longer than the view is wide to be ellipsized instead of broken in the middle.**
- ImageView

## fragment_add_edit_task.xml
- CoordinateLayout : parent
- LinearLayout
- EditText
- CheckBox
- FloatingActionButton
- TextView

## data / Task.kt
- data class for Room (= Entity)
- name, important, completed, created, id
- createdDataFormatted <- get from created

0 comments on commit 2136eac

Please sign in to comment.