Coder Social home page Coder Social logo

Comments (6)

danhtran12797 avatar danhtran12797 commented on June 15, 2024 1

image

I tried demo update item[0], but Diffutil not working

from mvvm_note_app_kotlin_android_studio.

IsaiasCuvula avatar IsaiasCuvula commented on June 15, 2024 1

from mvvm_note_app_kotlin_android_studio.

danhtran12797 avatar danhtran12797 commented on June 15, 2024

Why are you trying to get and set list from diffutil in you click listen ? I won't work because, he first go to another screen and than he don't get t And set the values, from diffutil, so you need to get and set in different places! The questions is what do you want to do? Get or set values from diffutil ? Your current list you need to call it inside your adapter class ...

On Fri, Jul 2, 2021, 06:26 Danh @.***> wrote:

[image: image] https://user-images.githubusercontent.com/48312687/124216124-ad20a900-db1f-11eb-9ef0-14a91fedacc5.png I tried demo update item[0], but Diffutil not working — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#1 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQJDWZBUDZZ7M5FEV3AVXTDTVUWWTANCNFSM47V4KVQQ .

I'm just trying to make you understand "Diffutil not working when change a field". I tested on your source code Note App.

from mvvm_note_app_kotlin_android_studio.

IsaiasCuvula avatar IsaiasCuvula commented on June 15, 2024

from mvvm_note_app_kotlin_android_studio.

danhtran12797 avatar danhtran12797 commented on June 15, 2024

You change in source code, maybe you change in the wrong way, because you added things that i didn't use in the code, maybe those things are not implemented in the right way, so What field are you trying to change? What do you want to achieve with that ?

On Fri, Jul 2, 2021, 09:53 Danh @.> wrote: Why are you trying to get and set list from diffutil in you click listen ? I won't work because, he first go to another screen and than he don't get t And set the values, from diffutil, so you need to get and set in different places! The questions is what do you want to do? Get or set values from diffutil ? Your current list you need to call it inside your adapter class ... … <#m_-5253587529778850751_> On Fri, Jul 2, 2021, 06:26 Danh @.> wrote:

[image: image] https://user-images.githubusercontent.com/48312687/124216124-ad20a900-db1f-11eb-9ef0-14a91fedacc5.png I tried demo update item[0], but Diffutil not working — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#1 (comment) <#1 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQJDWZBUDZZ7M5FEV3AVXTDTVUWWTANCNFSM47V4KVQQ . I'm just trying to make you understand "Diffutil not working when change a field". I tested on your source code Note App. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#1 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQJDWZEBVIQOFABUPTBNXT3TVVO7HANCNFSM47V4KVQQ .

It's just an example: I want to change the title at position 0, without navigate UpdateNoteFragment.kt.

from mvvm_note_app_kotlin_android_studio.

IsaiasCuvula avatar IsaiasCuvula commented on June 15, 2024

from mvvm_note_app_kotlin_android_studio.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.