当前位置: 首页>>代码示例>>Java>>正文


Java StickyRecyclerHeadersAdapter类代码示例

本文整理汇总了Java中com.timehop.stickyheadersrecyclerview.StickyRecyclerHeadersAdapter的典型用法代码示例。如果您正苦于以下问题:Java StickyRecyclerHeadersAdapter类的具体用法?Java StickyRecyclerHeadersAdapter怎么用?Java StickyRecyclerHeadersAdapter使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


StickyRecyclerHeadersAdapter类属于com.timehop.stickyheadersrecyclerview包,在下文中一共展示了StickyRecyclerHeadersAdapter类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: MyHeaderPositionCalculator

import com.timehop.stickyheadersrecyclerview.StickyRecyclerHeadersAdapter; //导入依赖的package包/类
public MyHeaderPositionCalculator(StickyRecyclerHeadersAdapter adapter, HeaderProvider headerProvider,
                                  OrientationProvider orientationProvider, DimensionCalculator dimensionCalculator) {
    mAdapter = adapter;
    mHeaderProvider = headerProvider;
    mOrientationProvider = orientationProvider;
    mDimensionCalculator = dimensionCalculator;
}
 
开发者ID:bvblogic,项目名称:Mediator_Android,代码行数:8,代码来源:MyHeaderPositionCalculator.java

示例2: MyStickyRecyclerHeadersDecoration

import com.timehop.stickyheadersrecyclerview.StickyRecyclerHeadersAdapter; //导入依赖的package包/类
private MyStickyRecyclerHeadersDecoration(StickyRecyclerHeadersAdapter adapter, MyHeaderRenderer headerRenderer,
                                          OrientationProvider orientationProvider, DimensionCalculator dimensionCalculator, HeaderProvider headerProvider,
                                          MyHeaderPositionCalculator headerPositionCalculator) {
    mAdapter = adapter;
    mHeaderProvider = headerProvider;
    mOrientationProvider = orientationProvider;
    mRenderer = headerRenderer;
    mDimensionCalculator = dimensionCalculator;
    mHeaderPositionCalculator = headerPositionCalculator;
}
 
开发者ID:bvblogic,项目名称:Mediator_Android,代码行数:11,代码来源:MyStickyRecyclerHeadersDecoration.java

示例3: HeadersDecoration

import com.timehop.stickyheadersrecyclerview.StickyRecyclerHeadersAdapter; //导入依赖的package包/类
private HeadersDecoration(StickyRecyclerHeadersAdapter adapter, OrientationProvider orientationProvider,
                          DimensionCalculator dimensionCalculator, HeaderRenderer headerRenderer, HeaderProvider headerProvider) {
    this(adapter, headerRenderer, orientationProvider, dimensionCalculator, headerProvider,
            new HeaderPositionCalculator(adapter, headerProvider, orientationProvider,
                    dimensionCalculator) {
                @Override
                public boolean hasStickyHeader(View itemView, int orientation, int position) {
                    return false;
                }
            });
}
 
开发者ID:Xlythe,项目名称:AndroidTextManager,代码行数:12,代码来源:HeadersDecoration.java

示例4: StickyRecyclerHeadersElevationDecoration

import com.timehop.stickyheadersrecyclerview.StickyRecyclerHeadersAdapter; //导入依赖的package包/类
public StickyRecyclerHeadersElevationDecoration(StickyRecyclerHeadersAdapter adapter) {
    mAdapter = adapter;
}
 
开发者ID:52inc,项目名称:android-52Kit,代码行数:4,代码来源:StickyRecyclerHeadersElevationDecoration.java

示例5: HeaderViewCache

import com.timehop.stickyheadersrecyclerview.StickyRecyclerHeadersAdapter; //导入依赖的package包/类
public HeaderViewCache(StickyRecyclerHeadersAdapter adapter,
    OrientationProvider orientationProvider) {
  mAdapter = adapter;
  mOrientationProvider = orientationProvider;
}
 
开发者ID:DeFuture,项目名称:AmazeFileManager-master,代码行数:6,代码来源:HeaderViewCache.java

示例6: HeaderViewCache

import com.timehop.stickyheadersrecyclerview.StickyRecyclerHeadersAdapter; //导入依赖的package包/类
public HeaderViewCache(StickyRecyclerHeadersAdapter adapter,
                       OrientationProvider orientationProvider) {
    mAdapter = adapter;
    mOrientationProvider = orientationProvider;
}
 
开发者ID:beasonshu,项目名称:sticky-headers-recyclerview,代码行数:6,代码来源:HeaderViewCache.java


注:本文中的com.timehop.stickyheadersrecyclerview.StickyRecyclerHeadersAdapter类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。