Skip to content

Conversation

@Sangjin0702
Copy link

No description provided.

Copy link

@KYM-P KYM-P left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GOOD

binding = ActivityAddEditBinding.inflate(layoutInflater)
setContentView(binding.root)

val editWordText = intent.getStringExtra("word_text")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

companion object 로 관리하면 좋을 거 같습니다.
다른 intent key 값들도 마찬가지입니다.

}

viewModel.topWord.observe(this) {
binding.wordTextview.text = it?.word ?: "단어 선택 필요"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

strings.xml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants