BasicTextField2 - Everything You Need to Know 💻

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

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

  • @MrSunnyd1993
    @MrSunnyd1993 9 месяцев назад +35

    Forget BasicTextView2 , when are we getting Phillip Lacker2?

  • @dahlola
    @dahlola 9 месяцев назад +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 9 месяцев назад +3

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

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

    Finally
    BasicTextField2

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

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

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

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

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

    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.

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

    Buenísimo, gracias Antonio, go MVi

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

    Very Cool
    Thank you BRO

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

    So good. Do you have one for ViewPager2?

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

    Great vid as usual!

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

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

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

    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.

  • @mayankpandit6325
    @mayankpandit6325 8 месяцев назад +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.

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

    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 8 месяцев назад

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

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

      @@alexisblanc1795 Nope, I delayed it for a while

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

    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 🙏

  • @dialogues9421
    @dialogues9421 4 месяца назад

    in the latest compose there is no BasicTextField2

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

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

    • @ZachKlippenstein
      @ZachKlippenstein 9 месяцев назад +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 9 месяцев назад

      @@ZachKlippenstein thank you!

  • @Shakenbeer
    @Shakenbeer 9 месяцев назад +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 9 месяцев назад

      android has become the stupides platform

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

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

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

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

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

      ​@@ZachKlippenstein EditText worked perfectly fine.

    • @count7ero
      @count7ero 9 месяцев назад +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.

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

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

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

      It's my job :D

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

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

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

      By following content creators like him.

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

    I love you mwah

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

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

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

      Just hoist your TextFieldState to your ViewModel

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

      ​@@GakisStylianosNot that simple

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

      @@cah8884 Why?

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

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

  • @sumanshah5750
    @sumanshah5750 9 месяцев назад +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 9 месяцев назад +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 9 месяцев назад

    Today you are looking mummies boy :)

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

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