Package 

Class AdapterUtilsKt

    • Method Summary

      Modifier and Type Method Description
      final static View getItemView(ViewGroup $self, @LayoutRes() Integer layoutResId) An extension function to getItemView.
      final static Unit asStaggeredGridFullSpan(RecyclerView.ViewHolder $self) If the hold view use StaggeredGridLayoutManager they should using all span area.
      • Methods inherited from class java.lang.Object

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

      • asStaggeredGridFullSpan

         final static Unit asStaggeredGridFullSpan(RecyclerView.ViewHolder $self)

        If the hold view use StaggeredGridLayoutManager they should using all span area. 如果 ViewHolder 使用 StaggeredGridLayoutManager 布局,则铺满一行。