Code Monkey home page Code Monkey logo

Comments (9)

Himhotep avatar Himhotep commented on August 12, 2024

I have no tried this example code but I think the same.

File: https://github.com/letsar/flutter_staggered_grid_view/blob/master/example/lib/example_6.dart
onLongPress changes _selectedIndex within a call to setState but nothing happens.

from flutter_staggered_grid_view.

developereranga avatar developereranga commented on August 12, 2024

@letsar yes when i call setState after changing the data StaggeredGridView not updating..

from flutter_staggered_grid_view.

ajkerfaisal avatar ajkerfaisal commented on August 12, 2024

facing the same issue. it adds or removes items but refreshing existing cells not happening.

from flutter_staggered_grid_view.

letsar avatar letsar commented on August 12, 2024

Hi, I think I have also fixed this for the #23 .
Can you check with the master branch if this is still happening?

from flutter_staggered_grid_view.

littleMeng avatar littleMeng commented on August 12, 2024

@letsar I ensure use the newest master version, but It doesn't work.

from flutter_staggered_grid_view.

letsar avatar letsar commented on August 12, 2024

@littleMeng can you provide a standalone example please so that I can test it?
I tested the master branch with setState modifications and existing cells are refreshing.

from flutter_staggered_grid_view.

littleMeng avatar littleMeng commented on August 12, 2024

@letsar I test my example again, It works fine, maybe yesterday hot-load not clear the cache. Thank you very much.

from flutter_staggered_grid_view.

Himhotep avatar Himhotep commented on August 12, 2024

example_6.dart works fine now.
thanks!!!

from flutter_staggered_grid_view.

letsar avatar letsar commented on August 12, 2024

Published in version 0.2.6.

from flutter_staggered_grid_view.

Related Issues (20)

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.