EN VI
Posts (0)
Questions (15)
2024-03-15 16:30:05
Doing UI operations in IO thread is not correct. You should do such operations in Main thread using some code like this: withContext(Dispatchers.Main) { val hartaEditable: Editable = Editable....
Tags: android database kotlin
2024-03-15 19:30:04
you can modify the onClickLogin function in your LoginViewModel. You will need to access the current state, modify only the login field, and keep the password field unchanged private fun onClickLogin(...
2024-03-15 22:30:09
You need to install Java 11 and set it as the version run for the Gradle build. I would just set it to the global default, or possibly version 17. Check out https://sdkman.io/ to manage multiple Java...
Tags: swift xcode kotlin
2024-03-17 01:30:07
The code has precision loss due to the conversion between BigDecimal and double. you can update the gammaLanczos to fun gammaLanczos(x: BigDecimal): BigDecimal { // Lanczos approximation parameters...
Tags: kotlin
2024-03-17 22:30:05
In this case, you don't need to import it explicitly. Check once, if in build.gradle file, is the view Binding is enabled or not. After this rebuild it and check if the red line issue is resolve or no...

Login


Forgot Your Password?

Create Account


Lost your password? Please enter your email address. You will receive a link to create a new password.

Reset Password

Back to login