Class CacheHelper

  • All Implemented Interfaces:

    
    public class CacheHelper
    
                        

    Cache of the item sizes and of the resulting lines (item count, total width etc.), so that com.xiaofeng.flowlayoutmanager.FlowLayoutManager does not have to lay out every item from the beginning when scrolling. Used internally by the layout manager.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static int NOT_FOUND
    • Constructor Summary

      Constructors 
      Constructor Description
      CacheHelper(int itemsPerLine, int contentAreaWidth)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description