Convert Figma Designs to Jetpack Compose Code With This FREE Plugin 😱

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ก.ย. 2024
  • Google's new Relay plugin for Figma takes your design's UI components and generates Jetpack Compose components for them, so you don't need to code them on your own. In this video I'll show you how this works.
    ⭐ Get certificates for your future job
    ⭐ Save countless hours of time
    ⭐ 100% money back guarantee for 30 days
    ⭐ Become a professional Android developer now:
    pl-coding.com/...
    💻 Let me be your mentor and become an industry-ready Android developer in 10 weeks:
    pl-coding.com/...
    Subscribe to my FREE newsletter for regular Android, Kotlin & Architecture advice!
    pl-coding.com/...
    Join this channel to get access to perks:
    / @philipplackner
    Join my Discord server:
    / discord
    Regular programming advice on my Instagram page: / _philipplackner_
    Checkout my GitHub: github.com/phi...
    You like my free content? Here you can buy me a coffee:
    www.buymeacoff...

ความคิดเห็น • 53

  • @croptv7093
    @croptv7093 ปีที่แล้ว +11

    Designers will not do these manipulations for us, and devs usually does not have write acces to figma design. Will look forward for updates.

    • @zakishaikh2223
      @zakishaikh2223 ปีที่แล้ว

      at the moment you can copy screen you want to convert to compose in a new fig file and make changes.

  • @anb4351
    @anb4351 ปีที่แล้ว +9

    Android studio should also include some sort of drag drop into compose, similar to xml. It really speed things up and is easier to visualize design.

    • @SanusiAdewale
      @SanusiAdewale 8 หลายเดือนก่อน

      Trust me you won't use it. As an iOS dev, we drag and drop with UIKit (androids xml), we can also drag and drop with SwiftUI (androids Jetpack Compose) but I've not seen any iOS developer dragging and dropping with SwiftUI

  • @ubersticks
    @ubersticks ปีที่แล้ว +9

    Relay is friggin' magic... very cool and I hope for success. I too have reservations for now -- Relay is in alpha and is autogenerating code for relatively new Compose (which itself is just now settling down to stability), so that seems like a very brittle combination!
    Using Figma+Relay for isolated UI components like a button makes sense, but the more complicated nested layouts like an entire Screen seem scary - the odds increase that you will need to perform some simple change or optimization to the Compose hierarchy (adding 'remember', state hoisting, etc.). That might be a quick and easy Kotlin change, but you should not edit the generated code. It could be difficult or impossible to change this back in Figma.

  • @vengateshm2122
    @vengateshm2122 ปีที่แล้ว +3

    Nice. From android dev summit you can summarize dev updates in your style.

  • @jjhoninatan55sabadi
    @jjhoninatan55sabadi ปีที่แล้ว +18

    The idea is nice... But the reality it's better to build a component by our own. The generated code it's not so good

    • @jayshartzer844
      @jayshartzer844 ปีที่แล้ว +5

      It's useful as a starting point and getting the attributes out. Plus the UX designers are forced to dimension their spacing correctly

    • @jjhoninatan55sabadi
      @jjhoninatan55sabadi ปีที่แล้ว

      @@jayshartzer844 agree. I hope it get better, to make it sealable and editable by devs

    • @welovfree
      @welovfree ปีที่แล้ว +2

      And also adds a lot probabilities for miscommunications between developers and designers. I think it seems like a lot of work to achieve something "simple".

    • @Eyyuphan439
      @Eyyuphan439 ปีที่แล้ว

      That's rigth.

    • @santyas
      @santyas ปีที่แล้ว

      What about that after 7 months?

  • @DeLL116
    @DeLL116 ปีที่แล้ว +4

    I'm getting negative feels about the generated code. Same thing with the constraint layout generated code. I always manually modified it.

  • @ahmedaaoua4233
    @ahmedaaoua4233 ปีที่แล้ว +2

    that's why we use jetpack compose

  • @M60studio
    @M60studio ปีที่แล้ว

    Kinda cool for someone that just starts with compose

  • @xomeluha5837
    @xomeluha5837 ปีที่แล้ว +2

    Hi Phillip thanks for reading our mind. By the way is there any plugin to convert it into XML too.

  • @umnikya7874
    @umnikya7874 9 หลายเดือนก่อน

    I only saw 2 minutes and already put like, Philipp Lackner is quality waranty))

  • @rajayush2524
    @rajayush2524 18 วันที่ผ่านมา +1

    Is there some plugin that can do it in adobe xd as well ??

  • @raghu1077
    @raghu1077 ปีที่แล้ว +2

    Great video. Philip

  • @snotyak7922
    @snotyak7922 ปีที่แล้ว +5

    This didn't work for my team. Our designs are somewhat complex, though if you have something as simple as two labels side-by-side and need text to be custimizable, Relay messes this up because Figma doesn't have a notion of widgets being constrained to edges of other widgets, so what happens here is Relay generates a Composable with two Labels in a coordinate system. This means when the left-most text is longer than it was in the Figma design, it will overlap the label adjacent to it. At the moment, it's much easier for us to just port the design manually.

  • @novaart2297
    @novaart2297 ปีที่แล้ว +1

    Hey philip can u teach us figma in next vids

  • @ykalchev
    @ykalchev ปีที่แล้ว +2

    Thanks a lot man, another valuable content from you

  • @adiyogi-thefirstguru5144
    @adiyogi-thefirstguru5144 ปีที่แล้ว +3

    Please need a video about Android Interview roadmap for experienced.

  • @KaungPyaeSoneAung123
    @KaungPyaeSoneAung123 ปีที่แล้ว

    waiting for this so longggg

  • @sovrinfo
    @sovrinfo ปีที่แล้ว

    Great video. Thanks!

  • @riemer87
    @riemer87 ปีที่แล้ว

    Danke dir - very helpful!

  • @hellosagar
    @hellosagar ปีที่แล้ว +1

    Thanks for sharing :)

  • @kamanchomorgan9655
    @kamanchomorgan9655 ปีที่แล้ว

    please make video how to create widget using jetpack glance

  • @mikec4220
    @mikec4220 ปีที่แล้ว

    @PhillipLackner - what about a bottom navigation bar with animated icons?

  • @mustafaammar551
    @mustafaammar551 ปีที่แล้ว

    VERY COOL 👍👍👍👍
    Thank you BRO

  • @antaki93
    @antaki93 10 หลายเดือนก่อน

    Thank you for the video. But writing code is much easier than all these actions. And I get an error while a build...

  • @abhishekoza1240
    @abhishekoza1240 ปีที่แล้ว

    Which android studio theme are you use?

  • @divyrajgida9683
    @divyrajgida9683 ปีที่แล้ว

    it's showing me ' Not a JSON Object: null ' in gradle build

  • @dijanamatkovic3623
    @dijanamatkovic3623 6 หลายเดือนก่อน

    You saved me with this 😅

  • @danilsveticov6196
    @danilsveticov6196 ปีที่แล้ว

    Thanks

  • @blackndmild246
    @blackndmild246 ปีที่แล้ว

    when i attempt to import my code over to android studio i am met with an SVG error, does anyone know how to solve this issue

  • @Alex1tmacthebestnba
    @Alex1tmacthebestnba 11 หลายเดือนก่อน

    is it possible that some tool or script exists for non composable projects?

  • @mr.bubble1657
    @mr.bubble1657 ปีที่แล้ว +1

    Btw what's is your theme name ? I really love it but kind find it

  • @jeromemarras1608
    @jeromemarras1608 ปีที่แล้ว +1

    ui-packages doesn't appear after clicking on 'Finish

    • @ChocoByte
      @ChocoByte หลายเดือนก่อน

      Same issue

  • @ntikomathaba2662
    @ntikomathaba2662 ปีที่แล้ว

    Genius!

  • @t0uchme
    @t0uchme ปีที่แล้ว

    Alot of efforts for basic stuff and like someone else said it's scary to use for complex designs and not good for back and forth between figma and android studio

  • @jorgeandresdiaz0
    @jorgeandresdiaz0 ปีที่แล้ว

    Do you have an available promo code for your Android course?

  • @KingFalla
    @KingFalla หลายเดือนก่อน

    why is it such a long process to do? should be simple. not many people will like to use this

  • @bro_chenzox
    @bro_chenzox ปีที่แล้ว +2

    Adobe will say soon how it's cool🤣

  • @sabuvarghesethomas
    @sabuvarghesethomas ปีที่แล้ว

    Wow

  • @JagdishOnYT
    @JagdishOnYT ปีที่แล้ว

    First comment: From Nepal guru

  • @ahmetfarukcuha7793
    @ahmetfarukcuha7793 ปีที่แล้ว

    revoluation

  • @maximooze3196
    @maximooze3196 ปีที่แล้ว

    Just liking the vid. 🫡