BasicTextField2 - Everything You Need to Know 💻

Поделиться
HTML-код
  • Опубликовано: 7 янв 2025

Комментарии • 48

  • @MrNobody-h6n
    @MrNobody-h6n 10 месяцев назад +35

    Forget BasicTextView2 , when are we getting Phillip Lacker2?

  • @dahlola
    @dahlola 10 месяцев назад +2

    Unrelated to BasicTextField2, but I found the setting "Editor->Auto Import->Add unambiguous imports on the fly". It basically adds imports automatically as you write. I'm sure it has it's drawbacks but I enjoy it very much. No more Alt+Enter 😂

  • @MenaSamer
    @MenaSamer 10 месяцев назад +3

    Thanks for all the effort you make in the community .. ☺☺

  • @alexconner3958
    @alexconner3958 9 месяцев назад

    Looks awesome and its going to be sooo nice to pull TextFieldState into the Viewmodel. However my company uses the Material OutlineTextFields which seem to still use BasicTextField under the hood in Material 3 😢. I would try a custom decorationBox but they still seem to use the old methods for text as well. Hopefully these get updated in a new Material Compose release.

  • @ZachKlippenstein
    @ZachKlippenstein 10 месяцев назад

    Thanks for making this! One correction: BasicSecureTextField currently doesn’t currently manage the buffer memory any differently than the non-secure one.

    • @PhilippLackner
      @PhilippLackner  10 месяцев назад +1

      Oh okay, thanks for adding 🙌

  • @РинатФ-я7о
    @РинатФ-я7о 10 месяцев назад +2

    Finally
    BasicTextField2

  • @essamsalah829
    @essamsalah829 10 месяцев назад +1

    in inputTransformation how to add delay (let's say: 500 millilsecond) to let the user see what's he writting

  • @CoderzF1
    @CoderzF1 10 месяцев назад +1

    so, with textfield2, is it possible to easily format text as you type, such as money/currency format based on locale?

  • @mayankpandit6325
    @mayankpandit6325 10 месяцев назад +1

    How do I add trailing icon in BasicTextField2? I am looking for a way to display error icon when it doesn't meet specific criteria and also display error message of what's wrong.

  • @gerdsfargen6687
    @gerdsfargen6687 10 месяцев назад +1

    So good. Do you have one for ViewPager2?

  • @vladimirparizek9499
    @vladimirparizek9499 7 месяцев назад

    Hi Phil. How do you feel about hoisting TextFieldState into VM? On one hand it makes things really simple, on the other it feels like smell to put platform specific code into VM.

  • @dialogues9421
    @dialogues9421 6 месяцев назад +1

    in the latest compose there is no BasicTextField2

  • @PromptModeller
    @PromptModeller 10 месяцев назад +1

    Great vid as usual!

  • @JJHaz
    @JJHaz 10 месяцев назад +1

    Buenísimo, gracias Antonio, go MVi

  • @McMouse88
    @McMouse88 10 месяцев назад

    Philip, thanks for your video! Could you please cover some information on VisualTransformation? I was working on creating a transformation for a phone number, and I've encountered an issue: the cursor is only positioned before or after a formatting characters, and I haven't found a way to place the cursor in both positions. Any advice on this would be greatly appreciated!

    • @alexisblanc1795
      @alexisblanc1795 10 месяцев назад

      Did you use BasicTextView 2? Did you solve your problem with output transformation? I try to do the same, thanks

    • @McMouse88
      @McMouse88 10 месяцев назад

      @@alexisblanc1795 Nope, I delayed it for a while

  • @mustafaammar551
    @mustafaammar551 10 месяцев назад +3

    Very Cool
    Thank you BRO

  • @abhishektripathi6957
    @abhishektripathi6957 10 месяцев назад

    hi philipp i want to ask you one question and please reply for this i am requesting your with my folded hand:
    Question: how do you always get all new major to minor updates about the new upgrades related to android if am a android developer than how i can be please reply 🙏

  • @nischaykashyap5143
    @nischaykashyap5143 10 месяцев назад

    how do you get all these updates about the new upgrades related to android?

    • @PhilippLackner
      @PhilippLackner  10 месяцев назад +1

      It's my job :D

    • @nischaykashyap5143
      @nischaykashyap5143 10 месяцев назад

      @@PhilippLackner haha i get it but how do i as a dev can stay upto date to all this?

    • @vengateshm2122
      @vengateshm2122 10 месяцев назад

      By following content creators like him.

  • @Shakenbeer
    @Shakenbeer 10 месяцев назад +1

    State in VM, that contains text for edit text field? Hm, where did I see that. Oh, in deprecated data binding. They are running in circles.

    • @count7ero
      @count7ero 10 месяцев назад

      android has become the stupides platform

    • @yasserakbbach7342
      @yasserakbbach7342 10 месяцев назад

      Agree that this Google team doesn't know what they are doing 🫠

    • @ZachKlippenstein
      @ZachKlippenstein 10 месяцев назад

      You should come join us! Would happily throw this away if you have a better solution

    • @Shakenbeer
      @Shakenbeer 10 месяцев назад

      ​@@ZachKlippenstein EditText worked perfectly fine.

    • @count7ero
      @count7ero 10 месяцев назад +1

      @@ZachKlippenstein there is a significant drop in new android developers. and even developers that are accustomed to Views are struggling with compose. to my knowledge we are supposed to maintain/stage data in ViewModels and drop it in Composables using lambdas to minimize recompositions. what is the purpose then of the remember functions? LaunchedEffects? seems the les Compose we use the better.

  • @wilianc.b.3065
    @wilianc.b.3065 10 месяцев назад

    Hi, I've been using only TextField in my app. What are the differences between TextField and BasicTextField?

    • @ZachKlippenstein
      @ZachKlippenstein 10 месяцев назад +2

      TextField is the material text field, it applies the material theme and other decorations on top of BasicTextField.

    • @wilianc.b.3065
      @wilianc.b.3065 10 месяцев назад

      @@ZachKlippenstein thank you!

  • @cah8884
    @cah8884 10 месяцев назад

    Please could you make a video about BasicTextField2 and MVI and how it works with the new TextFieldState class

    • @GakisStylianos
      @GakisStylianos 10 месяцев назад

      Just hoist your TextFieldState to your ViewModel

    • @cah8884
      @cah8884 10 месяцев назад

      ​@@GakisStylianosNot that simple

    • @GakisStylianos
      @GakisStylianos 10 месяцев назад

      @@cah8884 Why?

  • @srimanikanta1493
    @srimanikanta1493 10 месяцев назад +2

    Could you make a video on mongodb Atlas device sdk with simple realtime game.

  • @KaungPyaeSoneAung123
    @KaungPyaeSoneAung123 10 месяцев назад

    I love you mwah

  • @sumanshah5750
    @sumanshah5750 10 месяцев назад +1

    Sir can you make a realtime location sharing on Google maps..like as Uber or any food delivery system.. please i have lot of confusion please do with spring boot database [like a company standard]

  • @VarunSethi-y1s
    @VarunSethi-y1s 10 месяцев назад +1

    Hey I am from India I want to be mentored by you but the cost of the course is too much for me in INR it becomes even more than my parents monthly salary so please try to help me out in order to avail your courses

  • @devatrii
    @devatrii 10 месяцев назад

    Today you are looking mummies boy :)

  • @yasserakbbach7342
    @yasserakbbach7342 10 месяцев назад

    What a mess 😬
    I think it's time to switch my career 🤔