Dislikes Dislikes:  0
Thanks Thanks:  0
Results 1 to 9 of 9
  1. #1
    Junior Member
    Join Date
    Jul 2019
    Posts
    8
    Post Thanks / Like
    Mentioned
    0 Post(s)

    Is android ready for MVI now? (perf wise)

    Hi, I really like the idea of MVI, but am concerned with performance. The issue is lists and edittexts together with State that has unrelated stuff in it. Meaning, if unrelated state.foo changes, state.list gets reemited aswell.

    Do you think diffutil fixes this satisfactorly? Is if (edittext.text =! state.text) enough?

    Say your use case is chat screen with list, edittext and send button. Send button needs to be disabled when edittext is empty. This means reducing State every char typed, thus reemitting the list everytime. Debouncing is not valid in this case imo

    Isnt running diffutil so much wasteful? What if there is lot of transformation of list data like you would have in chat app? (Grouping of fast consecutive messages as you have in fb messenger)https://solitaire.onl/ 9apps.ooo/ https://bluestacks.vip/




    So, is android view framework ready for MVI/Redux? Should global State of unrelated substates be broken into separate States which emit only when really changed?

    (What if list and edittext were related, then its unavoidable )
    Last edited by jwalamukhi; 2019-07-11 at 06:27 PM.

  2. Likes amnazeb25 liked this post
  3. #2
    Newbie
    Join Date
    Aug 2019
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    I would utilize LiveData to break your state into logical chunks. Alternatively, you could utilize dirty flags for different fields, and check / skip those fields if no change has been made. Note I've not done this in practice, just a thought.



    At the end of the day, what you really need to do is measure your performance. Build the release version of your app, and see how it feels. See if it's janky. Maybe measure frame render times using the tools in Android studio.

    9Apps Cartoon HD VidMate APK
    Last edited by lovelash; 2019-08-07 at 08:17 PM.

  4. #3
    Junior Member Vag's Avatar
    Join Date
    Aug 2019
    Posts
    7
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Quote Originally Posted by lovelash View Post
    I would utilize LiveData to break your state into logical chunks. Alternatively, you could utilize dirty flags for different fields, and check / skip those fields if no change has been made. Note I've not done this in practice, just a thought.
    9Apps Cartoon HD VidMate APK
    I'd love to see the result

  5. #4
    Newbie
    Join Date
    Sep 2019
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)

    Alice Mail Accedi


  6. #5
    Newbie
    Join Date
    Sep 2019
    Location
    UAE
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    You have done good information on this article and You have written well on above topic and also thanks for sharing with us.We are the best russian massage center Abu Dhabi, UAE.

  7. #6
    Newbie
    Join Date
    Sep 2019
    Location
    Calicut Kerala
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Excellent information provided thanks for all the information i must say great efforts made by you. We are one of the best Builders in Calicut ,Wayanad offers world-class Villas, Flats, Apartments, and commercial properties within your budget

  8. #7
    Newbie
    Join Date
    Sep 2019
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    I was looking at some of your posts on this website and I conceive this web site is really instructive!
    app development companies Riyadh
    Web design companies Calicut
    Last edited by adoxsolutions; 2019-09-25 at 10:35 AM.

  9. #8
    Junior Member
    Join Date
    Aug 2019
    Posts
    15
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Thanks for sharing those informations.https://www.cydiacloud.com/ will help you to get more information about this.
    Last edited by Joanna12; 2019-10-04 at 10:35 AM.

  10. #9
    Newbie
    Join Date
    Nov 2019
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Informative post. great ideas you have shared with us. Thanks. Looking for a Computer network maintenance company in Dubai . Al Yamin Computer is an IT Solutions company founded by enthusiastic Technocrat and is located in Sharjah, In United Arab Emirates.

    Top networking companies in Dubai

    Best CCTV installation company in Dubai

Similar Threads

  1. Replies: 0
    Last Post: 2015-03-07, 05:24 AM
  2. MoWeather 1.1 for Android is ready!!!
    By kenny woo in forum Android Apps
    Replies: 0
    Last Post: 2014-03-14, 09:11 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •