1.这是官方的实现
2.这是我的实现
3.他的数据是随机的两种Cell ,当时当碰到大图的Cell大于1个的时候就可以横向滑动.
两种Cell的数据是一起传过来的.
黄舟2017-04-18 09:18:18
Choose different Cells for display based on different data.
If the number of large pictures is greater than 1, make it scrollable.
大家讲道理2017-04-18 09:18:18
The key to your problem is that you didn’t handle the big pictures and small pictures separately. Since the big pictures are at the top level, you can use the header or the first cell of the tableview to present the big picture. Here is a specially designed view for horizontal sliding. After receiving the data, extract all the data from the large image and display it on the horizontally sliding view at the top. The thumbnail remains unchanged.