circular-carousel
circular-carousel copied to clipboard
heightForRowAt on main table view issue
hello,
im trying to modify the sample provided.
in the sample, there is the main table view contains 3 rows 0, 1 the buttons carousel, 2 the scrolling table "tableCarousel".
the main table heightForRowAt predefined the scrolling table "tableCarousel" row to fit all of the 10 items of tableCarousel.
now after I load data I changed the tableCarousel items to 5 but the main table heightForRowAt still predefined to 10 items and that's make a large white space.
i tried many solutions, I can't update the main heightForRowAt to fit my new data in realtime so i need to reload data and its not an option because reload data reset everything, the 5 tableCarousel too. how to achieve a flexible size of the 3rd-row "tableCarousel" so it can fit whatever data i pass to it ???
please help and if you didn't get my problem please tell me I could explain more.
@mhdjazmati have you tried updating the heightForRow when you scroll to the new Button Item. This can be animated or set without animation.
hello, can you please provide me with a code or explain more? thank you so much