Building a Complete Login Registration Flow in Jetpack Compose | Step-by-Step Tutorial

Поділитися
Вставка
  • Опубліковано 9 тра 2023
  • This is what you will do in production apps, Welcome to our comprehensive tutorial on developing a complete login registration flow using Jetpack Compose! In this video, we will guide you through the process of creating a robust and user-friendly authentication system for your Android app.
    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 :
    / @nativemobilebits
    If you want to learn Jetpack Compose, you can checkout Our Jetpack Compose playlist :
    • Master Jetpack Compose...
    If you are new to Android, and want to learn Android in 2023, you can checkout this playlist:
    • Learn Android from scr...
    Throughout this tutorial, we will cover every aspect of the login registration flow. Starting from the design and layout, we will demonstrate how to create beautiful and responsive UI components using Jetpack Compose's intuitive syntax. We will then dive into the implementation details, covering user input validation, error handling, and secure password storage.
    By the end of this video, you will have a solid understanding of how to build a seamless login registration flow in Jetpack Compose. Whether you're a beginner or an experienced Android developer, this tutorial will provide you with the knowledge and skills needed to create an authentication system that meets modern standards.
    Join us on this exciting journey into the world of Jetpack Compose and elevate your Android app's user experience to new heights.
    Don't forget to like, subscribe, and hit the notification bell to stay updated with our latest tutorials. Let's get started!
    Please drop a comment after you watch this video - your thoughts.

КОМЕНТАРІ • 170

  • @NativeMobileBits
    @NativeMobileBits  5 місяців тому +3

    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 :
    ua-cam.com/channels/TjQSpx2waqXTC37AgM8qyA.htmljoin

  • @manuverma894
    @manuverma894 Рік тому +5

    finally I found the content which I was looking for. Very well explained and have covered all the basics.

    • @NativeMobileBits
      @NativeMobileBits  Рік тому +1

      Glad you liked it, stay connected and checkout more parts of this series you will like those too

  • @Luffy_2804
    @Luffy_2804 10 місяців тому +2

    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

    • @NativeMobileBits
      @NativeMobileBits  10 місяців тому

      Thanks❤ watch out the rest of video and other compose videos, also please share channel link with your friends who are into Android

  • @tomaslopez9999
    @tomaslopez9999 8 місяців тому +1

    Thanks for putting together this tutorial. It's very useful and helpful for beginners in Jetpack Compose.

    • @NativeMobileBits
      @NativeMobileBits  8 місяців тому

      Thanks, You should be checking our compose playlist here, you will like it ua-cam.com/play/PLLwcRoh3a6u7VvJ9QuKrsuB7UuNCMtvkq.html

  • @vipulkumar3329
    @vipulkumar3329 Рік тому +1

    Thank you for keeping it very basic sir 😊 it’s so helpful ❤

  • @imamyusupbachtiar5461
    @imamyusupbachtiar5461 Рік тому +2

    Nice, finally when i was finished my study. i watch this

  • @sijanneupane
    @sijanneupane Рік тому +2

    nice one! keep adding more!

  • @manaideas8473
    @manaideas8473 7 місяців тому +1

    Gracias, saludos desde Ecuador

    • @NativeMobileBits
      @NativeMobileBits  6 місяців тому +1

      Your welcome ♥️♥️ please explore other videos too at our channel

  • @carinaschoppe
    @carinaschoppe 8 місяців тому +1

    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.

    • @NativeMobileBits
      @NativeMobileBits  8 місяців тому +1

      Wow that's a fantastic thing to hear, glad to be of help my friend, please support the channel ♥️🙏🏻

    • @NativeMobileBits
      @NativeMobileBits  8 місяців тому +1

      Also you can check our others video we also have one playlist for complete Android compose projects ua-cam.com/play/PLLwcRoh3a6u6IsUrXoKaoZNb5LvhOhV8J.html
      And yes please keep sharing these wonderful feedbacks

    • @carinaschoppe
      @carinaschoppe 8 місяців тому

      @@NativeMobileBits Sure I'll do so.
      Something Like a git repo would be great

    • @NativeMobileBits
      @NativeMobileBits  8 місяців тому

      I will suggest you can code along, although all the resources and much more benefits are provided once a user join channel membership

  • @asifj96
    @asifj96 8 місяців тому +1

    I successfully finished the tutorial and the content was amazing.
    I request you to please add Form Validation using Material 3.👍

    • @NativeMobileBits
      @NativeMobileBits  8 місяців тому

      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 - ua-cam.com/video/n9IrkANVGxU/v-deo.html
      ua-cam.com/video/peSfaIhKgfw/v-deo.html
      ua-cam.com/video/008f7IUVYDQ/v-deo.html
      ua-cam.com/play/PLLwcRoh3a6u6IsUrXoKaoZNb5LvhOhV8J.html

  • @techach3490
    @techach3490 Рік тому +1

    Thanks, that was a very good walkthrough ❤

    • @NativeMobileBits
      @NativeMobileBits  Рік тому +1

      Glad ❤ please checkout more videos of this series all parts are connected in a project development manner

    • @techach3490
      @techach3490 Рік тому

      @@NativeMobileBits
      I will make sure to follow thank you very much. i am subscribed :)

    • @NativeMobileBits
      @NativeMobileBits  Рік тому

      Thanks❤

  • @sadimohammad7338
    @sadimohammad7338 6 місяців тому +1

    Your videos are awesome sir. 🙂🙂🙂🙂🙂

  • @joshua_kenji
    @joshua_kenji 7 місяців тому

    thank youu

    • @NativeMobileBits
      @NativeMobileBits  7 місяців тому

      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 ua-cam.com/play/PLLwcRoh3a6u6IsUrXoKaoZNb5LvhOhV8J.html&si=E59lEfR8LTt1SdmI

  • @MdTayoburRahmanGraphics
    @MdTayoburRahmanGraphics 8 місяців тому +1

    Nice

    • @NativeMobileBits
      @NativeMobileBits  8 місяців тому

      You can checkout our other next parts of this video in our compose playlist

  • @matovumike8524
    @matovumike8524 7 місяців тому +3

    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

    • @NativeMobileBits
      @NativeMobileBits  7 місяців тому

      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 -
      ua-cam.com/play/PLLwcRoh3a6u6IsUrXoKaoZNb5LvhOhV8J.html

  • @tvvu05
    @tvvu05 Рік тому +4

    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?

    • @NativeMobileBits
      @NativeMobileBits  Рік тому

      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

    • @ramragav9448
      @ramragav9448 9 місяців тому +1

      im also facing same problem i checked the code multiple times plz help

    • @rodneyperello
      @rodneyperello 8 місяців тому +1

      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.

  • @sakshampatel7000
    @sakshampatel7000 4 місяці тому +1

    great video and very well explained

    • @NativeMobileBits
      @NativeMobileBits  4 місяці тому

      Thanks it’s the first part of a complete playlist do checkout next parts as well

    • @sakshampatel7000
      @sakshampatel7000 4 місяці тому

      @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

  • @whatthefactuploadr7604
    @whatthefactuploadr7604 8 місяців тому +1

    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

    • @NativeMobileBits
      @NativeMobileBits  8 місяців тому

      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.

    • @whatthefactuploadr7604
      @whatthefactuploadr7604 8 місяців тому +1

      @@NativeMobileBits yes , I was also thinking the same . Thanks for helping 💙

    • @NativeMobileBits
      @NativeMobileBits  8 місяців тому

      ya, also if you are learning compose, do checkout this playlist , it has multiple jetpack compose projects,
      ua-cam.com/play/PLLwcRoh3a6u7VvJ9QuKrsuB7UuNCMtvkq.html
      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

  • @aviksutar
    @aviksutar 9 місяців тому +2

    make a course on how to use compose for multiplatform. it's the future it would be great. thanks in advance

    • @NativeMobileBits
      @NativeMobileBits  9 місяців тому +1

      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

    • @NativeMobileBits
      @NativeMobileBits  9 місяців тому +1

      also do share about us with your friends in android field 😊

  • @anils3798
    @anils3798 6 місяців тому

    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.

  • @eswarimurugesan5048
    @eswarimurugesan5048 Місяць тому

    Hello Sir, Icons.Filled.Visibility . in this line i got an error in visibility. how to solve this

  • @hulk2313
    @hulk2313 4 місяці тому +2

    Nice tutorial. i didn't forwarded the video but after 40 mins sudden surprise "Crossfade" and Router. when it is created?

  • @mckeinryaurin9598
    @mckeinryaurin9598 Рік тому +1

    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?

  • @akashmadanu3994
    @akashmadanu3994 Рік тому +1

    Sir, I request you to please do full android development course with basics in order using Jetpack compose

    • @NativeMobileBits
      @NativeMobileBits  Рік тому

      Yes ❤ we are doing the same, please checkout this playlist ua-cam.com/play/PLLwcRoh3a6u60ZEVdcKijpnRFTALeJwL-.html
      Here we are going to cover all Android concepts

    • @NativeMobileBits
      @NativeMobileBits  Рік тому

      Keep your support with the channel

  • @onlyDevz
    @onlyDevz 4 місяці тому +1

    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 ??

    • @NativeMobileBits
      @NativeMobileBits  4 місяці тому

      the same way you can show as we show in general

    • @onlyDevz
      @onlyDevz 4 місяці тому

      @@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. ]

  • @akashmadanu3994
    @akashmadanu3994 Рік тому

    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🙏

  • @brunamattos6233
    @brunamattos6233 8 місяців тому

    Hi do you think is posible to integrate this login screen with the fun fact project? any tips? thanks very much

  • @mckeinryaurin9598
    @mckeinryaurin9598 11 місяців тому +1

    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.

    • @NativeMobileBits
      @NativeMobileBits  11 місяців тому

      maybe you missed something, you can check the code here and find out what you have missed, github.com/droid-lover/AppsUsingJetpackCompose

    • @nguyenhoangthanhan3113
      @nguyenhoangthanhan3113 8 місяців тому

      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 :)

  • @dino_xy
    @dino_xy 2 місяці тому

    I dont see a link for a corresponding github repository. Can you please add it?
    Great tutorial btw. Thanks!

  • @mckeinryaurin9598
    @mckeinryaurin9598 Рік тому

    hey sir how can i edit the size of the Icon in the textfield? because it is too large.

  • @spriggan7363
    @spriggan7363 Місяць тому

    hello! love the content! may I ask if do you have a github repo for the code of the complet login registration flow???

  • @aviksutar
    @aviksutar 9 місяців тому +1

    great very helpful. If you can share the source code that would be better for us

    • @NativeMobileBits
      @NativeMobileBits  9 місяців тому +1

      Yes, sure you can check the pinned comment. also please check this playlist in order to understand it best possible way ua-cam.com/play/PLLwcRoh3a6u6IsUrXoKaoZNb5LvhOhV8J.html

  • @BernardORourke-pk5uu
    @BernardORourke-pk5uu 3 місяці тому +1

    Marvellous tutorial, thank you so much. I like the color scheme you use in your editor, how would I replicate it?

    • @NativeMobileBits
      @NativeMobileBits  3 місяці тому

      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 😎
      ua-cam.com/video/bzNDADcEXzM/v-deo.html

  • @imraghavbnsal007
    @imraghavbnsal007 7 місяців тому

    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

    • @NativeMobileBits
      @NativeMobileBits  7 місяців тому +1

      Spend some time on channel, just check the pinned comment 🌚

    • @imraghavbnsal007
      @imraghavbnsal007 7 місяців тому

      I found it, Thank You! btw i really liked the way you explained it! @@NativeMobileBits

  • @venkateshchowdary7024
    @venkateshchowdary7024 8 місяців тому

    For me compnentshape is not showing in Android studio it shows error

    • @NativeMobileBits
      @NativeMobileBits  8 місяців тому

      you can clone the code, check the description or pinned comment

  • @vanaparthibullisiva5739
    @vanaparthibullisiva5739 8 місяців тому

    I dindt understand how you imported the colors (at 9mins 22 sec). Could you please tell me?

    • @NativeMobileBits
      @NativeMobileBits  8 місяців тому

      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

    • @vanaparthibullisiva5739
      @vanaparthibullisiva5739 8 місяців тому

      Another doubt . Where do we get all these icons ? Like are they png images or XML files.?

    • @NativeMobileBits
      @NativeMobileBits  8 місяців тому

      You will find this in code did you check the project I have already pinned the comment which has project link

    • @NativeMobileBits
      @NativeMobileBits  8 місяців тому +2

      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 ua-cam.com/video/Xj8FHl83tOc/v-deo.html and then clone code

  • @MusicKaaa
    @MusicKaaa 3 місяці тому

    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

    • @MusicKaaa
      @MusicKaaa 3 місяці тому

      been searching for a solution but cant find one

    • @NativeMobileBits
      @NativeMobileBits  3 місяці тому +1

      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

    • @MusicKaaa
      @MusicKaaa 3 місяці тому

      @@NativeMobileBits sir, is there any solution for that? its error.

    • @sarijkkk
      @sarijkkk 8 днів тому

      @@MusicKaaa colors = OutlinedTextFieldDefaults.colors(
      focusedBorderColor = Primary,
      focusedLabelColor = Primary,
      cursorColor = Primary,
      ),

  • @hasnahena4819
    @hasnahena4819 5 місяців тому

    How did you get String.
    In video 8.43 minutes?

    • @NativeMobileBits
      @NativeMobileBits  5 місяців тому

      I just copied the string and added into strings.xml and then I used it 😊

  • @goodplayer2810
    @goodplayer2810 11 місяців тому

    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؟

    • @NativeMobileBits
      @NativeMobileBits  11 місяців тому

      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
      ua-cam.com/play/PLLwcRoh3a6u6IsUrXoKaoZNb5LvhOhV8J.html

    • @goodplayer2810
      @goodplayer2810 11 місяців тому

      @@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
      @goodplayer2810 11 місяців тому

      @@NativeMobileBits and your telegram groupe is locked so i cant send my problem it

    • @NativeMobileBits
      @NativeMobileBits  11 місяців тому

      @@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

    • @goodplayer2810
      @goodplayer2810 11 місяців тому

      so what the solution now?@@NativeMobileBits

  • @user-rw3oe8zm3q
    @user-rw3oe8zm3q 3 місяці тому

    thanks , can u please share the github link aswell

  • @ummeed8821
    @ummeed8821 5 місяців тому

    Hello sir, could you share your icon resources?

  • @TechnicalAkshay
    @TechnicalAkshay 4 місяці тому

    8:36 How can i do this shortcut?

  • @MokshithReddy1994
    @MokshithReddy1994 4 місяці тому

    Good tutorial
    But how "Crossfade" and "Router" appeared suddenly at 42:12

    • @NativeMobileBits
      @NativeMobileBits  4 місяці тому +1

      I see I would recommend watching jetpack compose crash course video from the same playlist I have explained it there again

    • @MokshithReddy1994
      @MokshithReddy1994 4 місяці тому

      Thank you@@NativeMobileBits

    • @NativeMobileBits
      @NativeMobileBits  4 місяці тому

      Hope you found the video

  • @komalbharti7869
    @komalbharti7869 8 місяців тому

    i'm following all the code same way but my app is not running

  • @omamaashraf1694
    @omamaashraf1694 6 місяців тому

    yaar ye postofficeapprouter file kab create kar li......

    • @NativeMobileBits
      @NativeMobileBits  6 місяців тому

      You can take this file from the code link us in description and comment

  • @AsadKhan-et9ux
    @AsadKhan-et9ux 7 місяців тому

    has recomposition issue the whole component recomposes on event changes

  • @lucasianii8178
    @lucasianii8178 2 місяці тому

    Hi sir, how to reach you?

    • @NativeMobileBits
      @NativeMobileBits  2 місяці тому +1

      You can schedule a call by opting the membership check which level you want because there is one separate level for call

    • @lucasianii8178
      @lucasianii8178 2 місяці тому

      @@NativeMobileBits alright thanks

  • @toystoryscarymovie-forkids3323
    @toystoryscarymovie-forkids3323 10 місяців тому

    you did not show how you created the navigation

    • @NativeMobileBits
      @NativeMobileBits  10 місяців тому

      I showed, anyways stay tuned for upcoming videos will show once again in details

    • @NativeMobileBits
      @NativeMobileBits  9 місяців тому

      hey you can check now our latest videos to find this detail in more detailed approach

  • @rinkusherawat
    @rinkusherawat 2 місяці тому

    This hindi version ?

    • @NativeMobileBits
      @NativeMobileBits  2 місяці тому

      Love Hindi but we are planning to target global audience so English is the way to go 😇

  • @user-jz5ni1ul2d
    @user-jz5ni1ul2d 2 місяці тому

    there is always some kind of error i typed the exact same things still there is some error

    • @NativeMobileBits
      @NativeMobileBits  2 місяці тому

      Do check other responses on this video before stating this 😇

  • @pavelpetrov5328
    @pavelpetrov5328 8 місяців тому

    Could you provide the source code?

  • @tomaslopez9999
    @tomaslopez9999 8 місяців тому

    Hey, there is an andio proble around time 31:00

  • @user-jz5ni1ul2d
    @user-jz5ni1ul2d 2 місяці тому

    pls make the repo availiable for free

    • @NativeMobileBits
      @NativeMobileBits  2 місяці тому

      All code repos are available in channel membership

  • @hasnahena4819
    @hasnahena4819 5 місяців тому

    When you get
    1. layout.png
    2. Lock.xml
    3.message.xml
    4. Profile.xml
    ???

    • @NativeMobileBits
      @NativeMobileBits  5 місяців тому

      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

  • @KazamaGamingYT
    @KazamaGamingYT Рік тому +2

    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 🙏

    • @NativeMobileBits
      @NativeMobileBits  Рік тому

      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

    • @NativeMobileBits
      @NativeMobileBits  Рік тому

      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

    • @KazamaGamingYT
      @KazamaGamingYT Рік тому

      @@NativeMobileBits Is there something that you forgot to tell at the start of the video like any dependency or anything like that

    • @NativeMobileBits
      @NativeMobileBits  Рік тому

      @@KazamaGamingYT no and clone the repo if u need the code

    • @KazamaGamingYT
      @KazamaGamingYT Рік тому

      @@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

  • @akashmadanu3994
    @akashmadanu3994 Рік тому +1

    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.

    • @NativeMobileBits
      @NativeMobileBits  Рік тому +1

      ​ @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

    • @akashmadanu3994
      @akashmadanu3994 Рік тому

      @@NativeMobileBits thank you

    • @kenanamsterdam
      @kenanamsterdam Рік тому

      @@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.

    • @kenanamsterdam
      @kenanamsterdam Рік тому

      @@akashmadanu3994 just use a regular TextField, fixed my issue

    • @kenanamsterdam
      @kenanamsterdam Рік тому

      @@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

  • @adamfatyga7977
    @adamfatyga7977 8 місяців тому

    Icon on 21:20 :
    leadingIcon = { Icon(Icons.Outlined.Person, contentDescription = "")}