Drawing on Jetpack Compose Canvas - Android

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ก.ย. 2024
  • In this video, you'll learn how to draw on Canvas in Jetpack Compose
    Repository: github.com/dan...
    Let's connect 🤗:
    / daniel-atitienei
    Blog: / daniel.atitienei
    Do you like my content? Here you can buy me a coffee ☕:
    www.buymeacoff...
    #jetpackcompose #android #kotlin #androiddeveloper #xml #compose #development #developer #programmer #AndroidDevelopment #mobiledevelopment #appdevelopment #programmingtips #androidtips #mobileappdevelopment #androidstudio #KotlinProgramming #googleplaystore #userinterfacedesign #apiintegration #softwareengineering

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

  • @germenwong
    @germenwong 9 หลายเดือนก่อน +1

    Please continue to make the video, it has been very helpful to me. Thank you

    • @daniel.atitienei
      @daniel.atitienei  9 หลายเดือนก่อน +1

      You're welcome!
      I will continue to post other videos on different topics, hope you'll like them!

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

    Really cool. Inspired me to build drawing app for my 3years old daugher :)

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

    i don't understand why change.position reduced by dragAmount 😢

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

    Nice work man its really good i want to know which is this theme you are using?

    • @daniel.atitienei
      @daniel.atitienei  ปีที่แล้ว

      Thank you! Material Theme UI plugin with the Material Darker theme, also I am using the new UI that is on Canary version and Beta.

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

    What theme plugin do you use for android studio? Good job btw

    • @daniel.atitienei
      @daniel.atitienei  ปีที่แล้ว

      Thank you! I use the Material Theme UI plugin with Material Darker theme

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

    Can you help me with the exoplayer but an example in which it has a text image and URL and when I click on the card with its text image it plays the corresponding video

    • @daniel.atitienei
      @daniel.atitienei  9 หลายเดือนก่อน

      Column {
      AnimatedContent(imageClicked) { isClicked ->
      if (isClicked) {
      Image(modifier = Modifier.clickable { isClicked = true })
      } else {
      VideoPlayer
      }
      }
      Text
      }
      To implement the video player take a look at this article: medium.com/@daniel.atitienei/custom-media3-exoplayer-layout-with-jetpack-compose-android-72b9ee422be6

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

      @@daniel.atitienei I'm going to try, why don't you upload an exoplayer video in jetpack compose by calling the resources to a lazyGrid please?

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

    how to add an eraser to this canvas screen?

    • @daniel.atitienei
      @daniel.atitienei  9 หลายเดือนก่อน

      You can add a button on the screen that changes the drawLine color to white

    • @M72-q2f
      @M72-q2f 8 หลายเดือนก่อน

      @@daniel.atitienei How to do it? Could you explain, please?