I'm using a horizontal scrolling collectionView inside a tableView cell. I could do all the work but what I've encountered is that collectionView misses itself scrolled indexPath on tableView scroll. consider this: 1. I scroll inside collectionView of a cell(cell A) and move to indexPath with item 9 and section 0. 2. I scroll tableView and cell A goes off screen. 3. I scroll back and cell A will be displayed again. now collection of cell A has been reset and is in indexPath of item 0 and section 0.
how can i solve this to remain in item 9?