Please support the channel friends❤ hit that subscribe button and share it with your friends 🙏 Join this channel to get access to perks including project code repos & call with Chief : ruclips.net/channel/UCTjQSpx2waqXTC37AgM8qyAjoin
one of the best channel , it was so fun designing the ui with jetpack , was able to learn so much , not completed the whole video (30 min) now it's getting late thx for the quality uploads
Glad to hear this, this video is a part of our compose playlist where we cover all these topics and yes we have covered form validation also here you go check out the next part of this video here are the links - ruclips.net/video/n9IrkANVGxU/видео.html ruclips.net/video/peSfaIhKgfw/видео.html ruclips.net/video/008f7IUVYDQ/видео.html ruclips.net/p/PLLwcRoh3a6u6IsUrXoKaoZNb5LvhOhV8J
I appreciate your efforts and it is really great work, however as a beginner I found you really really fast and you would do some things without explaining them. You would also use resources like icons without providing links to them. However thanks
Thanks❤, These icons you can take from project GitHub repo link in the description and I would highly encourage you to visit videos in order in our compose playlist - ruclips.net/p/PLLwcRoh3a6u6IsUrXoKaoZNb5LvhOhV8J
Thanks , and do you know this video is a part of the playlist this is the first part we follow along and in next parts continue in same app and build it perfectly part by part 😃
@@NativeMobileBits Yes! I specifically was looking for a tutorial on how to authenticate using compose and firebase, so I'm looking forward to the next videos
Hi. You are adding an excellent effort in Jetpack Compose community, Well done. God bless you. One thing i want to ask to you that how am i able to develop a responsive user interfaces using jetpack compose?
Yes noted, and My Main idea is to build a beautiful Android & Kotlin Library, for all the people, with all the step by steps learning videos. and yes we will cover this too in future. stay connected
Also you can check our others video we also have one playlist for complete Android compose projects ruclips.net/p/PLLwcRoh3a6u6IsUrXoKaoZNb5LvhOhV8J And yes please keep sharing these wonderful feedbacks
Your content is soo good and underrated. I've watched many videos of yours and every part is clear✨✨. There is a slight problem in my app , it's not a problem but a lagging issue . Like when I am clicking on my outlinedTextField the animation of label is a bit laggy , not that much lagg but a very slight lagged animation. Maybe you also have noticed or it's just with my application only? Thankyou
First of all, thanks for noticing, actually I just try to provide actual content, instead of - details of any big company package and all :D , that's why maybe . & answer to lagging issue, actually that outlined text api was in experimental mode, it will come up with more enhancements in future updates :) , stay connected and keep blessing our channel with your love my friend.
ya, also if you are learning compose, do checkout this playlist , it has multiple jetpack compose projects, ruclips.net/p/PLLwcRoh3a6u7VvJ9QuKrsuB7UuNCMtvkq and do let me know what you are learning I will share relevant things. enjoy and don't forget to talk to your loved ones my friend
@NativeMobileBits Hi , great video but suddenly you have created a router oof which you have not explained anything about can you check that once. if you can give the link that would be great to video where you have created it that would be great
Hello Sachin, Let me first congratulate you for putting out an awesome and very useful video tutorials. They are very practical and easy to follow step by step. After following your "Login Registration" series, I noticed one minor issue. The app doesn't handle configuration changes when rotating the device orientation. For example, after entering the input fields on the login screen, if you rotate the device, you will lose all entered values. One of the major goals of the ViewModel approach is to support configuration changes. After researching this issue further, it appears that the Textfield component used doesn't use the ViewModel fields directly to control the UI fields. Instead, it uses a call back to send the field value to the caller, which updates the viewmodel values manually. Would you please take a look and advise? Thanks in advance.
Yes ❤ we are doing the same, please checkout this playlist ruclips.net/p/PLLwcRoh3a6u60ZEVdcKijpnRFTALeJwL- Here we are going to cover all Android concepts
Thanks for a nice tutorial. I have an issue that when clicking on Privacy Policy or Terms of Use, it doesn't navigate to Terms of Use screen. I moved the Log.d(...) inside: if ((span.item == termsAndConditionsText) || (span.item == privacyPolicyText)) { Log.d("ClickableTextComponent", "{${span.item}}") onTextSelected(span.item) } And, it prints {Privacy Policy} when clicking on Privacy Policy; and it prints {Terms of Use} when clicking on Terms of Use. But it doesn't open up the Term of Use Screen. Wondering if anyone also see this issue?
Glad you liked it, did you add all the routing logic, verify your code with this repo here, I have pushed all the code for this tutorial in this repo, you can download the code and verify with your code if somewhere you missed something github.com/droid-lover/AppsInJetpackCompose
I have the same issue too. I downloaded the code from github then compared my codes against it, I do not see anything different. I can Log.d the message but I can't navigate to the TermsAndConditions screen.
Sir, your explanation is good, but as I observed in the above tutorial, you haven't explained why particular terms/keywords are used, what a router is, and why we are using certain functions; little clarity is missing. Hope in the upcoming tutorials, you will improve. And Thank you so much for your efforts. Sir, if Possible Could you start live interaction classes as an entire course even though it is paid plz sir🙏
Sir already finished your tutorial for about a week but why is my project couldn't navigate to login and signup I don't know why but I did all the steps you show.
I put val at line: val currentScreen: MutableState = mutableStateOf(Screen.SignUpScreen). It's not work in navigate from SignUpScreen to TermsAndConditionsScreen. And it works after I change val to var :)
Glad you enjoyed it it’s part of a series so check next videos too (check description) and for emulator I think you need this bro 😎 ruclips.net/video/bzNDADcEXzM/видео.html
Yes, sure you can check the pinned comment. also please check this playlist in order to understand it best possible way ruclips.net/p/PLLwcRoh3a6u6IsUrXoKaoZNb5LvhOhV8J
@@NativeMobileBits showing error in logcat - E Initial task failed for action RecaptchaAction(action=signUpPassword)with exception - An internal error has occurred. [ API key expired. Please renew the API key. ]
Hi, how did you get the icons? because I can't import them from anywhere? How can i get the icon, do I have to create them? andi can't find github link in description
In between the video, your code is missing. You create the sealed class and router but can't explain in video. I make the whole project with the help of your video but can't complete because of this problem.
if you will see upcoming videos we use navcontroller too, don't just run behind advance concept too quickly, learn how we can also do those things which library does, that's my style :)
for this we just took colors code from Figma designs and added inside colors.xml file, you can find this file in res folder, if its not there, you can create as well and add the colors you want to use, you can also pause the video and take the same colors code and here I have pinned comment, added the code you can check this as well
And if you don't know how to take project code of this video from our GitHub account, then watch this video to learn to use GitHub ruclips.net/video/Xj8FHl83tOc/видео.html and then clone code
This material API is experimental and is likely to change or to be removed in the future. how to fix that, sir? it happened when in the colors = TextFieldDefaults.outlinedTextFieldColors
This video is the first part and we extend this project further with a lot of things in our compose playlist, do checkout the next parts here ruclips.net/p/PLLwcRoh3a6u6IsUrXoKaoZNb5LvhOhV8J&si=E59lEfR8LTt1SdmI
sir Now I am automatically redirected to the home page. I want to change this and I do not know where is the part for making it open the home page automatically when restarting the application after creating the account and is there . any way To communicate with you؟
Yes you can directly go to the home page we have done session management in next videos, checkout the next videos in the jetpack compose playlist ruclips.net/p/PLLwcRoh3a6u6IsUrXoKaoZNb5LvhOhV8J
@@NativeMobileBits i mean i do navigation bar and i make it open the navigtion bar with the screens but its still open the home screen without the the after log in again thats why i need to contact with you for that there is alot of problems in it aslo i need to now how i can solve it like i cant add google log in in log in or sign up screen and i cant delete the account for try the log in with other account from the app and i cant add it or edit somethings becuse i dont know i should change it from where so i need contact with you :/
@@goodplayer2810 this is a fully working project, you can find code from here, now these seems to be your own new requirements which you can extend on top of current project, if you want current working code, you can take from here github.com/droid-lover/AppsUsingJetpackCompose
I am getting an error at 18:11 Code - @Composable fun MyTextField(labelValue: String){ val textValue = remember { mutableStateOf("") } OutlinedTextField( label = {Text(text = labelValue)}, value = textValue, colors = TextFieldDefaults.outlinedTextFieldColors( focusedBorderColor = Primary, focusedLabelColor = Primary, cursorColor = Primary ), keyboardOptions = KeyboardOptions.Default, onValueChange ={ textValue.value = it } ) } I am getting three errors - 1) OutlinedTextField - None of the following functions can be called with the arguments supplied. 2) label = {Text(text = labelValue)} - @Composable invocations can only happen from the context of a @Composable function 3) textValue.value = it - Unresolved reference: it Please help me out 🙏
try to clone / download code from this and then try to compare code check did you miss something, else also this repo will help you solve this error, as this is fully functional
@@NativeMobileBits I did cloned the repo and compared the code written in your project with mine till the part where i completed watching your video but i think your projects gradle files are bit different than mine
@Akash MADANU it will be solved, clone / download code from this and then try to compare code check did you miss something, else also this repo will help you solve this error, as this is fully functional github.com/droid-lover/AppsInJetpackCompose
@@NativeMobileBits it is not working for the new version of android studio, the following error occurs: This material API is experimental and is likely to change or to be removed in the future.
@@akashmadanu3994 TextField( value = textValue.value, onValueChange = { textValue.value = it }, label = { Text(text = labelValue) }, colors = TextFieldDefaults.textFieldColors( focusedIndicatorColor = Primary, unfocusedIndicatorColor = Primary, cursorColor = Primary ), keyboardOptions = KeyboardOptions.Default, ) does the same thing, I built the preview and it literally does the same thing. Native Mobile Bits probably used an experimental feature that is constantly being updated, removed and tossed around
Please support the channel friends❤ hit that subscribe button and share it with your friends 🙏
Join this channel to get access to perks including project code repos & call with Chief :
ruclips.net/channel/UCTjQSpx2waqXTC37AgM8qyAjoin
one of the best channel , it was so fun designing the ui with jetpack , was able to learn so much , not completed the whole video (30 min) now it's getting late
thx for the quality uploads
Thanks❤ watch out the rest of video and other compose videos, also please share channel link with your friends who are into Android
I successfully finished the tutorial and the content was amazing.
I request you to please add Form Validation using Material 3.👍
Glad to hear this, this video is a part of our compose playlist where we cover all these topics and yes we have covered form validation also here you go check out the next part of this video here are the links - ruclips.net/video/n9IrkANVGxU/видео.html
ruclips.net/video/peSfaIhKgfw/видео.html
ruclips.net/video/008f7IUVYDQ/видео.html
ruclips.net/p/PLLwcRoh3a6u6IsUrXoKaoZNb5LvhOhV8J
finally I found the content which I was looking for. Very well explained and have covered all the basics.
Glad you liked it, stay connected and checkout more parts of this series you will like those too
Nice, finally when i was finished my study. i watch this
Definitely once you watch share your favorite part
@@NativeMobileBits yes sir
I appreciate your efforts and it is really great work, however as a beginner I found you really really fast and you would do some things without explaining them. You would also use resources like icons without providing links to them. However thanks
Thanks❤, These icons you can take from project GitHub repo link in the description and I would highly encourage you to visit videos in order in our compose playlist -
ruclips.net/p/PLLwcRoh3a6u6IsUrXoKaoZNb5LvhOhV8J
Thanks for putting together this tutorial. It's very useful and helpful for beginners in Jetpack Compose.
Thanks, You should be checking our compose playlist here, you will like it ruclips.net/p/PLLwcRoh3a6u7VvJ9QuKrsuB7UuNCMtvkq
Great video! I love the approach and the pace is perfect
Thanks , and do you know this video is a part of the playlist this is the first part we follow along and in next parts continue in same app and build it perfectly part by part 😃
@@NativeMobileBits Yes! I specifically was looking for a tutorial on how to authenticate using compose and firebase, so I'm looking forward to the next videos
Nice tutorial. i didn't forwarded the video but after 40 mins sudden surprise "Crossfade" and Router. when it is created?
Your videos are awesome sir. 🙂🙂🙂🙂🙂
Much love 🧡 keep supporting
Hi. You are adding an excellent effort in Jetpack Compose community, Well done. God bless you. One thing i want to ask to you that how am i able to develop a responsive user interfaces using jetpack compose?
Glad 🥰 do checkout my other videos and I will post one on this topic too
make a course on how to use compose for multiplatform. it's the future it would be great. thanks in advance
Yes noted, and My Main idea is to build a beautiful Android & Kotlin Library, for all the people, with all the step by steps learning videos. and yes we will cover this too in future. stay connected
also do share about us with your friends in android field 😊
Gracias, saludos desde Ecuador
Your welcome ♥️♥️ please explore other videos too at our channel
Love you for your job and that explanation, made me a better developer. I was able to implement that code for my new business idea.
Wow that's a fantastic thing to hear, glad to be of help my friend, please support the channel ♥️🙏🏻
Also you can check our others video we also have one playlist for complete Android compose projects ruclips.net/p/PLLwcRoh3a6u6IsUrXoKaoZNb5LvhOhV8J
And yes please keep sharing these wonderful feedbacks
@@NativeMobileBits Sure I'll do so.
Something Like a git repo would be great
I will suggest you can code along, although all the resources and much more benefits are provided once a user join channel membership
Your content is soo good and underrated. I've watched many videos of yours and every part is clear✨✨.
There is a slight problem in my app , it's not a problem but a lagging issue . Like when I am clicking on my outlinedTextField the animation of label is a bit laggy , not that much lagg but a very slight lagged animation. Maybe you also have noticed or it's just with my application only? Thankyou
First of all, thanks for noticing, actually I just try to provide actual content, instead of - details of any big company package and all :D , that's why maybe .
&
answer to lagging issue, actually that outlined text api was in experimental mode, it will come up with more enhancements in future updates :) , stay connected and keep blessing our channel with your love my friend.
@@NativeMobileBits yes , I was also thinking the same . Thanks for helping 💙
ya, also if you are learning compose, do checkout this playlist , it has multiple jetpack compose projects,
ruclips.net/p/PLLwcRoh3a6u7VvJ9QuKrsuB7UuNCMtvkq
and do let me know what you are learning I will share relevant things. enjoy and don't forget to talk to your loved ones my friend
great video and very well explained
Thanks it’s the first part of a complete playlist do checkout next parts as well
@NativeMobileBits Hi , great video but suddenly you have created a router oof which you have not explained anything about can you check that once. if you can give the link that would be great to video where you have created it that would be great
Thanks for these free content
@@chintu7397 you can support the channel by membership by joining
It 3.12pm where I am am hoping to complete this video by 6
Good keep it going 🔥🫶
Hello Sachin,
Let me first congratulate you for putting out an awesome and very useful video tutorials. They are very practical and easy to follow step by step.
After following your "Login Registration" series, I noticed one minor issue. The app doesn't handle configuration changes when rotating the device orientation. For example, after entering the input fields on the login screen, if you rotate the device, you will lose all entered values. One of the major goals of the ViewModel approach is to support configuration changes. After researching this issue further, it appears that the Textfield component used doesn't use the ViewModel fields directly to control the UI fields. Instead, it uses a call back to send the field value to the caller, which
updates the viewmodel values manually.
Would you please take a look and advise? Thanks in advance.
❤️
Sir, I request you to please do full android development course with basics in order using Jetpack compose
Yes ❤ we are doing the same, please checkout this playlist ruclips.net/p/PLLwcRoh3a6u60ZEVdcKijpnRFTALeJwL-
Here we are going to cover all Android concepts
Keep your support with the channel
Thanks for a nice tutorial. I have an issue that when clicking on Privacy Policy or Terms of Use, it doesn't navigate to Terms of Use screen.
I moved the Log.d(...) inside:
if ((span.item == termsAndConditionsText) || (span.item == privacyPolicyText)) {
Log.d("ClickableTextComponent", "{${span.item}}")
onTextSelected(span.item)
}
And, it prints {Privacy Policy} when clicking on Privacy Policy; and it prints {Terms of Use} when clicking on Terms of Use. But it doesn't open up the Term of Use Screen.
Wondering if anyone also see this issue?
Glad you liked it, did you add all the routing logic, verify your code with this repo here, I have pushed all the code for this tutorial in this repo, you can download the code and verify with your code if somewhere you missed something github.com/droid-lover/AppsInJetpackCompose
im also facing same problem i checked the code multiple times plz help
I have the same issue too. I downloaded the code from github then compared my codes against it, I do not see anything different. I can Log.d the message but I can't navigate to the TermsAndConditions screen.
Thank you for keeping it very basic sir 😊 it’s so helpful ❤
Glad you enjoyed it ❤😍
I dont see a link for a corresponding github repository. Can you please add it?
Great tutorial btw. Thanks!
Did you check the description
nice one! keep adding more!
Glad you liked my content 🥰 yes more coming soon
Nice
You can checkout our other next parts of this video in our compose playlist
Thanks, that was a very good walkthrough ❤
Glad ❤ please checkout more videos of this series all parts are connected in a project development manner
@@NativeMobileBits
I will make sure to follow thank you very much. i am subscribed :)
Thanks❤
Sir, your explanation is good, but as I observed in the above tutorial, you haven't explained why particular terms/keywords are used, what a router is, and why we are using certain functions; little clarity is missing. Hope in the upcoming tutorials, you will improve. And Thank you so much for your efforts.
Sir, if Possible Could you start live interaction classes as an entire course even though it is paid plz sir🙏
😊👍 try 42:13
Sir already finished your tutorial for about a week but why is my project couldn't navigate to login and signup I don't know why but I did all the steps you show.
maybe you missed something, you can check the code here and find out what you have missed, github.com/droid-lover/AppsUsingJetpackCompose
I put val at line: val currentScreen: MutableState = mutableStateOf(Screen.SignUpScreen). It's not work in navigate from SignUpScreen to TermsAndConditionsScreen. And it works after I change val to var :)
Marvellous tutorial, thank you so much. I like the color scheme you use in your editor, how would I replicate it?
Glad you enjoyed it it’s part of a series so check next videos too (check description) and for emulator I think you need this bro 😎
ruclips.net/video/bzNDADcEXzM/видео.html
hello! love the content! may I ask if do you have a github repo for the code of the complet login registration flow???
Do check the description 😊
Elegancko
Thanks do checkout it’s next part this video is a part of our compose playlist I am sure you will like those too
great very helpful. If you can share the source code that would be better for us
Yes, sure you can check the pinned comment. also please check this playlist in order to understand it best possible way ruclips.net/p/PLLwcRoh3a6u6IsUrXoKaoZNb5LvhOhV8J
Sir how did you show the "all, classes, files, symbols, and action" at 8:36 mins. Because i couldn't find it. What's the shortcut key for that?
double shift in Mac, in windows use CRTL+SHIFT+F
Hi do you think is posible to integrate this login screen with the fun fact project? any tips? thanks very much
Everything is possible 😊
doubt !! how to show a taost message that the email is in use ? as it is coming in the log but i want to show to the users , so how ??
the same way you can show as we show in general
@@NativeMobileBits showing error in logcat - E Initial task failed for action RecaptchaAction(action=signUpPassword)with exception - An internal error has occurred. [ API key expired. Please renew the API key. ]
Hi, how did you get the icons? because I can't import them from anywhere? How can i get the icon, do I have to create them? andi can't find github link in description
Spend some time on channel, just check the pinned comment 🌚
I found it, Thank You! btw i really liked the way you explained it! @@NativeMobileBits
In between the video, your code is missing. You create the sealed class and router but can't explain in video. I make the whole project with the help of your video but can't complete because of this problem.
Honestly I'm confused why a navController wasn't used for this. I don't know enough yet to know what the pros and cons are between the two methods.
if you will see upcoming videos we use navcontroller too, don't just run behind advance concept too quickly, learn how we can also do those things which library does, that's my style :)
check the description code link use that, if any problem
Good tutorial
But how "Crossfade" and "Router" appeared suddenly at 42:12
I see I would recommend watching jetpack compose crash course video from the same playlist I have explained it there again
Thank you@@NativeMobileBits
Hope you found the video
What are all the materials needed and were can i get it?
@@alesiodichinma5585 spend some time on channel and in video description 🙃
Hello Sir, Icons.Filled.Visibility . in this line i got an error in visibility. how to solve this
Check if imported correctly
I dindt understand how you imported the colors (at 9mins 22 sec). Could you please tell me?
for this we just took colors code from Figma designs and added inside colors.xml file, you can find this file in res folder, if its not there, you can create as well and add the colors you want to use, you can also pause the video and take the same colors code and here I have pinned comment, added the code you can check this as well
Another doubt . Where do we get all these icons ? Like are they png images or XML files.?
You will find this in code did you check the project I have already pinned the comment which has project link
And if you don't know how to take project code of this video from our GitHub account, then watch this video to learn to use GitHub ruclips.net/video/Xj8FHl83tOc/видео.html and then clone code
This material API is experimental and is likely to change or to be removed in the future. how to fix that, sir? it happened when in the colors = TextFieldDefaults.outlinedTextFieldColors
been searching for a solution but cant find one
It’s going to be alright once it’s stable in upcoming compose versions you can use without experimental but it’s not going to cause any harm to you
@@NativeMobileBits sir, is there any solution for that? its error.
@@MusicKaaa colors = OutlinedTextFieldDefaults.colors(
focusedBorderColor = Primary,
focusedLabelColor = Primary,
cursorColor = Primary,
),
How did you get String.
In video 8.43 minutes?
I just copied the string and added into strings.xml and then I used it 😊
thanks , can u please share the github link aswell
All code repos are under channel membership
thank youu
This video is the first part and we extend this project further with a lot of things in our compose playlist, do checkout the next parts here ruclips.net/p/PLLwcRoh3a6u6IsUrXoKaoZNb5LvhOhV8J&si=E59lEfR8LTt1SdmI
For me compnentshape is not showing in Android studio it shows error
you can clone the code, check the description or pinned comment
hey sir how can i edit the size of the Icon in the textfield? because it is too large.
Go to icon svg reduce the dimension there
@@NativeMobileBits how sir?
you didn't show how to do it on your tutorial ;(
Yes because there was no need if it in tutorial I will show in next videos somewhere
Hello sir, could you share your icon resources?
Did you check the description :)
sir Now I am automatically redirected to the home page. I want to change this and I do not know where is the part for making it open the home page automatically when restarting the application after creating the account and is there . any way To communicate with you؟
Yes you can directly go to the home page we have done session management in next videos, checkout the next videos in the jetpack compose playlist
ruclips.net/p/PLLwcRoh3a6u6IsUrXoKaoZNb5LvhOhV8J
@@NativeMobileBits i mean i do navigation bar and i make it open the navigtion bar with the screens but its still open the home screen without the the after log in again thats why i need to contact with you for that there is alot of problems in it aslo i need to now how i can solve it like i cant add google log in in log in or sign up screen and i cant delete the account for try the log in with other account from the app and i cant add it or edit somethings becuse i dont know i should change it from where so i need contact with you :/
@@NativeMobileBits and your telegram groupe is locked so i cant send my problem it
@@goodplayer2810 this is a fully working project, you can find code from here, now these seems to be your own new requirements which you can extend on top of current project, if you want current working code, you can take from here github.com/droid-lover/AppsUsingJetpackCompose
so what the solution now?@@NativeMobileBits
i'm following all the code same way but my app is not running
It should, You can use the code from the description and comment also
From GitHub?
Ty so much for your response
Your welcome friend, do checkout our other videos 🥰
Please is this an app or a website?
App 😀
8:36 How can i do this shortcut?
Double shift in mac
yaar ye postofficeapprouter file kab create kar li......
You can take this file from the code link us in description and comment
you did not show how you created the navigation
I showed, anyways stay tuned for upcoming videos will show once again in details
hey you can check now our latest videos to find this detail in more detailed approach
Hi sir, how to reach you?
You can schedule a call by opting the membership check which level you want because there is one separate level for call
@@NativeMobileBits alright thanks
there is always some kind of error i typed the exact same things still there is some error
Do check other responses on this video before stating this 😇
has recomposition issue the whole component recomposes on event changes
Explain?
Hey, there is an andio proble around time 31:00
No there is not 😊 check again
This hindi version ?
Love Hindi but we are planning to target global audience so English is the way to go 😇
can i get the source code?
Source code of all our video tutorials is for channel members
@@NativeMobileBits oh, alright
Could you provide the source code?
Check the pinned comment and description
sir code milega
@@meetbeldiya6261 description dekha kro
@@NativeMobileBits matlab
I am getting an error at 18:11
Code -
@Composable
fun MyTextField(labelValue: String){
val textValue = remember {
mutableStateOf("")
}
OutlinedTextField(
label = {Text(text = labelValue)},
value = textValue,
colors = TextFieldDefaults.outlinedTextFieldColors(
focusedBorderColor = Primary,
focusedLabelColor = Primary,
cursorColor = Primary
),
keyboardOptions = KeyboardOptions.Default,
onValueChange ={
textValue.value = it
} )
}
I am getting three errors -
1) OutlinedTextField - None of the following functions can be called with the arguments supplied.
2) label = {Text(text = labelValue)} - @Composable invocations can only happen from the context of a @Composable function
3) textValue.value = it - Unresolved reference: it
Please help me out 🙏
You can use the code from this repo, I have pushed all the code we did in the video here github.com/droid-lover/AppsInJetpackCompose
try to clone / download code from this and then try to compare code check did you miss something, else also this repo will help you solve this error, as this is fully functional
@@NativeMobileBits Is there something that you forgot to tell at the start of the video like any dependency or anything like that
@@KazamaGamingYT no and clone the repo if u need the code
@@NativeMobileBits I did cloned the repo and compared the code written in your project with mine till the part where i completed watching your video but i think your projects gradle files are bit different than mine
pls make the repo availiable for free
All code repos are available in channel membership
When you get
1. layout.png
2. Lock.xml
3.message.xml
4. Profile.xml
???
I will suggest you should spend some time reading the video description pinned comment etc this has GitHub project link you can find it from there
im running into the below error - Unresolved reference 'outlinedTextFieldColors'.
how can this be solved?
gradle -
dependencies {
implementation("androidx.compose.material3:material3:1.3.1")
implementation(libs.androidx.core.ktx)
implementation(libs.androidx.lifecycle.runtime.ktx)
implementation(libs.androidx.activity.compose)
implementation(platform(libs.androidx.compose.bom))
implementation(libs.androidx.ui)
implementation(libs.androidx.ui.graphics)
implementation(libs.androidx.ui.tooling.preview)
implementation(libs.androidx.material3)
testImplementation(libs.junit)
androidTestImplementation(libs.androidx.junit)
androidTestImplementation(libs.androidx.espresso.core)
androidTestImplementation(platform(libs.androidx.compose.bom))
androidTestImplementation(libs.androidx.ui.test.junit4)
debugImplementation(libs.androidx.ui.tooling)
debugImplementation(libs.androidx.ui.test.manifest)
}
@@D-Buggur check the video description
sir,
Unresolved reference: it
code :
@Composable
fun MyTextField(labelValue : String)
{
val textValue = remember {
mutableStateOf("")
}
OutlinedTextField(
value = textValue,
label ={ Text(text = labelValue)} ,
colors = TextFieldDefaults.outlinedTextFieldColors(
focusedLabelColor = Grey80,
focusedBorderColor = Color.White,
cursorColor = Grey80
)
,
keyboardOptions = KeyboardOptions.Default,
onValueChange ={
textValue.value = it
}
)
}
Could you please guide me in this error sir. Thank You.
@Akash MADANU it will be solved, clone / download code from this and then try to compare code check did you miss something, else also this repo will help you solve this error, as this is fully functional
github.com/droid-lover/AppsInJetpackCompose
@@NativeMobileBits thank you
@@NativeMobileBits it is not working for the new version of android studio, the following error occurs:
This material API is experimental and is likely to change or to be removed in the future.
@@akashmadanu3994 just use a regular TextField, fixed my issue
@@akashmadanu3994
TextField(
value = textValue.value,
onValueChange = { textValue.value = it },
label = { Text(text = labelValue) },
colors = TextFieldDefaults.textFieldColors(
focusedIndicatorColor = Primary,
unfocusedIndicatorColor = Primary,
cursorColor = Primary
),
keyboardOptions = KeyboardOptions.Default,
)
does the same thing, I built the preview and it literally does the same thing. Native Mobile Bits probably used an experimental feature that is constantly being updated, removed and tossed around
Icon on 21:20 :
leadingIcon = { Icon(Icons.Outlined.Person, contentDescription = "")}
Yup