Skip to content

Commit

Permalink
refactor : 온보딩 키워드에서 데이터 바인딩 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
m6z1 committed Mar 25, 2024
1 parent eb2e2a5 commit ed24927
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ class OnboardingKeywordActivity : BaseActivity<ActivityOnboardingKeywordBinding,
override val viewModel: KeywordViewModel by viewModel()

override fun initStartView() {
binding.vm = viewModel

// 부분 색상 지정
setSpanText(this, binding.tvOnboardingKeywordTitleMain,startIdx = 0, endIdx = 3)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import com.google.firebase.messaging.FirebaseMessaging
import org.koin.androidx.viewmodel.ext.android.viewModel
import timber.log.Timber


/* 메인 액티비티 */
class MainActivity : BaseActivity<ActivityMainBinding, MainViewModel>() {

Expand Down
8 changes: 0 additions & 8 deletions app/src/main/res/layout/activity_onboarding_keyword.xml
Original file line number Diff line number Diff line change
Expand Up @@ -333,12 +333,4 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>

<data>

<variable
name="vm"
type="com.dongyang.android.youdongknowme.ui.view.keyword.KeywordViewModel" />
/>
</data>
</layout>

0 comments on commit ed24927

Please sign in to comment.