after 8 hours not working , final it should class MainActivity : AppCompatActivity() { NOT class MainActivity : ComponentActivity() {
@notch_àpple_op8 ай бұрын
thanks bro, you saved my 8 hours of headache
@tarapogancev7 ай бұрын
Thank you so much! I've been on this error for so long!
@Shivam-ed5fn2 жыл бұрын
Awesome information bro.. Keep it up
@StevdzaSan2 жыл бұрын
Thanks 🙌
@ensarsirin9641 Жыл бұрын
Can you make a video about changing language manually in the app
@basic62992 жыл бұрын
what is launched effect(Corroutine)? new for many. yeah, i used this and implemented it. We can use that appCompat delegate one line for old and new. The same line works for older and new upto api level 21. And appCompat support for language is upto level 21 as i think. It is good that this video explains new thing, which i had to search for days how to implement and reading documents, and we learn easily by video rather than reading, especially fellow like me who understand more hindi, inderstandting document in english and to implement it takes time and effort by self. Hope u had video earlier some months ago. Then later i needed dark mode by appCompatDelegate. I wished that time google w'd made the appCompat Delegate to apply once and store it like for language. But we need to manage in case of dark mode. From india 👍
@StevdzaSan2 жыл бұрын
Yeah, sometimes the docs requires a bit extra information that is usually scattered across multiple different pages. :)
@pankajbohra86377 ай бұрын
this is the actual function i created to change app language actual fun changeAppLanguage(language: String) { AppCompatDelegate.setApplicationLocales( LocaleListCompat.forLanguageTags(language) ) } For android 14 it is working fine in compose multiplatform if i change app language from inside app its working and if i close the app and reopen then also previous set language is coming. But for android 12 and below it i click on language change btn then app language is not changing. i have to go some other screen and come back to reflect the language change. and if i close app and reopen then delfault language is setting previous selected language is not setting
@kryptoknight84012 жыл бұрын
Hello, I'm trying to build an Android keyboard for my local language (also a college project). please I'll need heads up on how to go about it 🙏🏾
@testchannel31032 жыл бұрын
plz make video on sync adapter with roomdatabase.
@namenilightsizcassina49442 жыл бұрын
Are you using default Android emulator or this is something different?It looks amazing!🔥
@StevdzaSan2 жыл бұрын
Yeah those two are just a regular Android Emulators. :)
@rupeshkumbhar89032 жыл бұрын
Hi, can you teel me how to change my whole app language??