Skip to content

@zjfjack zjfjack released this May 4, 2018 · 64 commits to master since this release

  1. Bug: For cross-day events, all cells in several sections cannot be hidden or translucent together

    • New variable id in JZBaseEvent is introduced to identify the same event in different cell
  2. Bug: Once move the cell to another page, the previous cell contentView with alpha with be reused, and one random cell with another event will reuse that cell with translucent contentView.

    • New list allOpacityContentViews is utilised to store the translucent contentView, once cancel and end longPress, all the contentViews layer opacity will be reset back to 1
    • Change set alpha to layer opacity in case user set custom alpha value for contentView
  3. Big issue: For both changing alpha or layer opacity for cell contentView, if user set cell background, then it will only work on view in contentView instead of background, which means the background color will not be transparent. However, if you set alpha or layer opacity for cell itself, when collectionView scrolling, the alpha will go back to 1 and will not call willDisplayCell.

    • The temporary solution is forcing users to set backgroundColor in contentView rather than cell itself
Assets 2
You can’t perform that action at this time.