Hello author, when using this library, I only relied on 'implementation' com. github. kirich1409: viewbindingpropertydelegate full: 1.5.9 '. This library crashes directly during basic use.
When introducing viewbindingpropertydelegate full, does Android Studio prompt Standard library: 1.7.10->1.8.10 due to different versions of kotlin
Is it because I used the wrong method or other reasons
Here is my code
`
/**
Created by Kris on 2023/04/23
*/
class TestFragment:Fragment() {
private val testBinding:FragmentTestBinding by viewBinding(CreateMethod.INFLATE)
override fun onCreateView(
inflater: LayoutInflater,
container: ViewGroup?,
savedInstanceState: Bundle?
): View? {
return testBinding .root
}
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
super.onViewCreated(view, savedInstanceState)
testBinding.tvText.text="use delegate"
}
}class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
val beginTransaction = supportFragmentManager.beginTransaction()
beginTransaction.add(R.id.fl_content,TestFragment())
beginTransaction.commit()
}
Hello author, when using this library, I only relied on 'implementation' com. github. kirich1409: viewbindingpropertydelegate full: 1.5.9 '. This library crashes directly during basic use. When introducing viewbindingpropertydelegate full, does Android Studio prompt Standard library: 1.7.10->1.8.10 due to different versions of kotlin Is it because I used the wrong method or other reasons Here is my code ` /**
}
class MainActivity : AppCompatActivity() {
}`