Class PurposeItemDecoration

  • All Implemented Interfaces:

    
    public final class PurposeItemDecoration
    extends RecyclerView.ItemDecoration
                        

    Decorator for Purpose / SPI item view holder

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Unit onDrawOver(Canvas canvas, RecyclerView parent, RecyclerView.State state)
      • Methods inherited from class androidx.recyclerview.widget.RecyclerView.ItemDecoration

        getItemOffsets, getItemOffsets, onDraw, onDraw, onDrawOver
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PurposeItemDecoration

        PurposeItemDecoration(Context context, ThemeProvider themeProvider, Boolean dividerForCategoryHeader)
        Parameters:
        context - context used to create a Drawable
        themeProvider - theme to use for separator
        dividerForCategoryHeader - as Boolean true if divider shown for category header
    • Method Detail

      • onDrawOver

         Unit onDrawOver(Canvas canvas, RecyclerView parent, RecyclerView.State state)