Package io.rong.imkit.widget.refresh

## Class SmartRefreshLayout.RefreshKernelImpl

- All Implemented Interfaces:

      public class SmartRefreshLayout.RefreshKernelImpl

  刷新布局核心功能接口 为功能复杂的 Header 或者 Footer 开放的接口

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `SmartRefreshLayout.RefreshKernelImpl()` |

  - ### Enum Constant Summary

    Enum Constants
    Enum Constant | Description
    --- | ---

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `RefreshLayout` | `getRefreshLayout()` |
    `RefreshContent` | `getRefreshContent()` |
    `RefreshKernel` | `setState(RefreshState state)` |
    `RefreshKernel` | `startTwoLevel(boolean open)` |
    `RefreshKernel` | `finishTwoLevel()` |
    `RefreshKernel` | `moveSpinner(int spinner, boolean isDragging)` | 移动滚动 Scroll moveSpinner 的取名来自 谷歌官方的 { android.support.v4.widget.SwipeRefreshLayout#moveSpinner(float)} moveSpinner The name comes from { android.support.v4.widget.
    `ValueAnimator` | `animSpinner(int endSpinner)` |
    `RefreshKernel` | `requestDrawBackgroundFor(RefreshComponent internal, int backgroundColor)` |
    `RefreshKernel` | `requestNeedTouchEventFor(RefreshComponent internal, boolean request)` |
    `RefreshKernel` | `requestDefaultTranslationContentFor(RefreshComponent internal, boolean translation)` |
    `RefreshKernel` | `requestRemeasureHeightFor(RefreshComponent internal)` |
    `RefreshKernel` | `requestFloorDuration(int duration)` |
    `RefreshKernel` | `requestFloorBottomPullUpToCloseRate(float rate)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SmartRefreshLayout.RefreshKernelImpl

          SmartRefreshLayout.RefreshKernelImpl()

  - ### Method Detail

    - #### getRefreshLayout

           RefreshLayout getRefreshLayout()

    - #### getRefreshContent

           RefreshContent getRefreshContent()

    - #### setState

           RefreshKernel setState(RefreshState state)

    - #### startTwoLevel

           RefreshKernel startTwoLevel(boolean open)

    - #### finishTwoLevel

           RefreshKernel finishTwoLevel()

    - #### moveSpinner

           RefreshKernel moveSpinner(int spinner, boolean isDragging)

      移动滚动 Scroll moveSpinner 的取名来自 谷歌官方的 { android.support.v4.widget.SwipeRefreshLayout#moveSpinner(float)} moveSpinner The name comes from { android.support.v4.widget.SwipeRefreshLayout#moveSpinner(float)}

      Parameters:
        `spinner` - 新的 spinner
        `isDragging` - 是否是拖动产生的滚动 只有，finishRefresh，finishLoadMore，overSpinner 的回弹动画才会是 false dispatchTouchEvent , nestScroll 等都为 true autoRefresh，autoLoadMore，需要模拟拖动，也为 true

    - #### animSpinner

           ValueAnimator animSpinner(int endSpinner)

    - #### requestDrawBackgroundFor

           RefreshKernel requestDrawBackgroundFor(RefreshComponent internal, int backgroundColor)

    - #### requestNeedTouchEventFor

           RefreshKernel requestNeedTouchEventFor(RefreshComponent internal, boolean request)

    - #### requestDefaultTranslationContentFor

           RefreshKernel requestDefaultTranslationContentFor(RefreshComponent internal, boolean translation)

    - #### requestRemeasureHeightFor

           RefreshKernel requestRemeasureHeightFor(RefreshComponent internal)

    - #### requestFloorDuration

           RefreshKernel requestFloorDuration(int duration)

    - #### requestFloorBottomPullUpToCloseRate

           RefreshKernel requestFloorBottomPullUpToCloseRate(float rate)