etsy / AndroidStaggeredGrid

An Android staggered grid view which supports multiple columns with rows of varying sizes.
https://github.com/etsy/AndroidStaggeredGrid
4.76k stars 1.13k forks source link

StaggeredGridView ignoring ViewGroup (e.g. RelativeLayout) visibility changes of child views #65

Open jjlauer opened 10 years ago

jjlauer commented 10 years ago

I have a custom component that extends from a RelativeLayout. The component is relatively simple -- an ImageView with an optional TextView. The TextView's visibility is changed after an AsyncTask is run. Thus, the StaggeredGridView renders the initial view correctly, but ignores (does not honor) the visibility change) after the AsyncTask runs.

I'm using identical code with a ListView and the StaggeredGridView and the ListView runs correctly, but the StaggeredGridView does not. Is this expected behavior or a bug?