Skip to content
This repository was archived by the owner on Jun 1, 2025. It is now read-only.

(fix) make sample project pass build#10

Open
bigman212 wants to merge 1 commit intoLedgerHQ:mainfrom
bigman212:feature/NO-TICKET-fix-build
Open

(fix) make sample project pass build#10
bigman212 wants to merge 1 commit intoLedgerHQ:mainfrom
bigman212:feature/NO-TICKET-fix-build

Conversation

@bigman212
Copy link

  • set kotlin and android plugin versions
  • fix compile time errors
  • remove unsupported by current kotlin version keywords like data object

id 'com.android.application'
id 'org.jetbrains.kotlin.android'
id('com.android.application').version("7.2.1")
id('org.jetbrains.kotlin.android').version("1.6.21")
Copy link
Author

Choose a reason for hiding this comment

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

took it from bigman212@fafd625


val callbackViewModel = CallbackViewModel.CallbackViewModelFactory(this).create(CallbackViewModel::class.java)
val flowViewModel = FlowViewModel.FlowViewModelFactory(this).create(FlowViewModel::class.java)
// val flowViewModel = Scan.FlowViewModelFactory(this).create(FlowViewModel::class.java)
Copy link
Author

Choose a reason for hiding this comment

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

FlowViewModel doesn't exist at all

@bigman212
Copy link
Author

@smartine-ledger fyi

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant