반응형

개요

안드로이드 개발을 하다보면 ListView와 RecyclerView같은 기능을 많이 사용하게 됩니다.

현재는 ListView는 성능상의 문제로 잘 사용하지 않기 때문에 RecyclerView를 사용하게 됩니다.

저번 포스팅에서 RecyclerView를 다뤘는데 사용하기가 복잡하다고 느낄 수 있기 때문에 다음 라이브러리를 찾아 보았습니다.

 

UltimateRecyclerView

 

cymcsg/UltimateRecyclerView

A RecyclerView(advanced and flexible version of ListView in Android) with refreshing,loading more,animation and many other features. - cymcsg/UltimateRecyclerView

github.com

 

Description

UltimateRecyclerView is a RecyclerView(advanced and flexible version of ListView) with pulling to refresh, loading more, swiping to dismiss, draging and drop, animations ,sticky header,show or hide toolbar and FAB when scrolling and many other features.You can use it just like RecyclerView. Support AndroidX now.

Notice that UltimateRecyclerView is a project under development.

Your donations is highly appreciated. Thank you!

Features:

  • Swipe to refresh(using android.support.v4.widget.SwipeRefreshLayout)
  • Many kinds of animations
  • Swipe to dismiss
  • Parallax or normal head view
  • Drag and drop items
  • Loading more when reach the last item(infinite scrolling)
  • Custom views in loading more
  • Showing or hiding toolbar and floating button when scrolling
  • Scrollbars
  • Colorful styles of swipe to refresh
  • Sticky header like instagram
  • Support different layout in adapter
  • Loading adapter with animation
  • Expandable view in recyclerview

 

사용법은 간단 합니다.

 

종속성 등록 (build.gradle)

repositories {
    jcenter()
}

dependencies {
    ...
    compile 'com.marshalchen.ultimaterecyclerview:library:0.9.0'
}

사용법은 다음 코드와 같이 사용됩니다.

<com.marshalchen.ultimaterecyclerview.UltimateRecyclerView
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:id="@+id/ultimate_recycler_view"
/>

 

자세한 내용은 다음  WIKI데모 프로젝트를 참고하세요

반응형

+ Recent posts