PagedHeadListView | #Android | Android boosted ListView supporting paginated header

 by   JorgeCastilloPrz Java Updated: 1 year ago - Current License: Apache-2.0

Download this library from

Build Applications

kandi X-RAY | PagedHeadListView REVIEW AND RATINGS

![Demo Screenshot 1](https://raw.githubusercontent.com/JorgeCastilloPrz/PagedHeadListView/master/app/src/main/res/raw/preview1.gif) ![Demo Screenshot 2](https://raw.githubusercontent.com/JorgeCastilloPrz/PagedHeadListView/master/app/src/main/res/raw/preview2.gif) ![Demo Screenshot 3](https://raw.githubusercontent.com/JorgeCastilloPrz/PagedHeadListView/master/app/src/main/res/raw/preview3.gif) ![Demo Screenshot 4](https://raw.githubusercontent.com/JorgeCastilloPrz/PagedHeadListView/master/app/src/main/res/raw/preview4.gif). <a target="_blank" href="https://play.google.com/store/apps/details?id=com.jorgecastilloprz.pagedheadlistview.testapp"> <img alt="Get it on Google Play" src="https://raw.githubusercontent.com/JorgeCastilloPrz/ExpandablePanel/master/app/src/main/res/raw/en_generic_rgb_wo_60.png" /> </a> <br /> [![Android Arsenal](http://img.shields.io/badge/Android%20Arsenal-PagedHeadListView-blue.svg?style=flat)](http://android-arsenal.com/details/1/816).

kandi-support
Support

  • PagedHeadListView has a low active ecosystem.
  • It has 741 star(s) with 220 fork(s).
  • It had no major release in the last 12 months.
  • On average issues are closed in 1680 days.
  • It has a neutral sentiment in the developer community.

quality kandi
Quality

  • PagedHeadListView has no issues reported.

security
Security

  • PagedHeadListView has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

license
License

  • PagedHeadListView is licensed under the Apache-2.0 License. This license is Permissive.
  • Permissive licenses have the least restrictions, and you can use them in most projects.

build
Reuse

  • PagedHeadListView releases are not available. You will need to build from source code and install.
  • Build file is available. You can build the component from source.
Top functions reviewed by kandi - BETA

Coming Soon for all Libraries!

Currently covering the most popular Java, JavaScript and Python libraries. See a SAMPLE HERE.
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.

PagedHeadListView Key Features

Android boosted ListView supporting paginated header with a new material page indicator.

PagedHeadListView examples and code snippets

  • Details
  • Usage

Details

This lib brings a custom ListView class called ```PagedHeadListView``` to the final user. Use it to integrate the component in your own Android application.
You will not need to create your own code with ```FragmentStatePagerAdapter``` or ```ViewPager``` by yourself for creating this cool user experience, as the library does the boring work for you.

Custom Attributes
-------------

This android library allows you to customize the following properties. Feel free to combine them to create your cool user interfaces:

* ```pagedheadlistview:headerHeight```: Dimen resources allowed.
* ```pagedheadlistview:disableVerticalTouchOnHeader```: Set it to true if you want the header to not be affected by verticall ListView scrolling.
* ```pagedheadlistview:indicatorBgColor```: Color resource for indicator background.
* ```pagedheadlistview:indicatorColor```: Color resource for indicator view.
* ```pagedheadlistview:indicatorType```: Type for the indicator. Types allowed are: ```topAligned```, ```bottomAligned```, and ```none```. If you set the value to none, no indicator will be included.
* ```pagedheadlistview:pageTransformer```: You can set it to ```depth```, ```zoomout```, ```rotate```, ```scale```, ```flip```, or ```accordion``` for using one of the stated ViewPager drag animations.

You can cutomize your own pageTransformer by extending ```ViewPager.PageTransformer``` native Android class and by adding it to the ```PagedHeadListView``` using the following method:
```java
mPagedHeadListView.setHeaderPageTransformer(boolean reverseDrawingOrder, ViewPager.PageTransformer customPageTransformer);

Usage

&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:pagedheadlistview="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"&gt;

    &lt;com.jorgecastilloprz.pagedheadlistview.PagedHeadListView
        android:id="@+id/pagedHeadListView"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        pagedheadlistview:headerHeight="@dimen/header_height"
        pagedheadlistview:indicatorType="bottomAligned"
        pagedheadlistview:disableVerticalTouchOnHeader="true"
        pagedheadlistview:indicatorBgColor="@color/material_green"
        pagedheadlistview:indicatorColor="@color/material_light_green" /&gt;

&lt;/RelativeLayout&gt;
 ```

In your java code, use ```PagedHeadListView``` like this:

```java
mPagedHeadList = (PagedHeadListView) rootView.findViewById(R.id.pagedHeadListView);

mPagedHeadList.addFragmentToHeader(new FirstHeaderFragment());
mPagedHeadList.addFragmentToHeader(new SecondHeaderFragment());
mPagedHeadList.addFragmentToHeader(new ThirdHeaderFragment());
mPagedHeadList.addFragmentToHeader(new FourthHeaderFragment());
mPagedHeadList.addFragmentToHeader(new FifthHeaderFragment());

mPagedHeadList.setHeaderOffScreenPageLimit(4);
mPagedHeadList.setHeaderPageTransformer(PageTransformerTypes.FLIP);

ArrayList&lt;String&gt; mockItemList = new ArrayList&lt;String&gt;();

for (int i = 0; i &lt; 50; i++)
    mockItemList.add(getResources().getString(R.string.mock_item) + " " + (i+1));

MockListAdapter mockListAdapter = new MockListAdapter(getActivity(), R.layout.mock_list_item, mockItemList);
mPagedHeadList.setAdapter(mockListAdapter);

COMMUNITY DISCUSSIONS

No Community Discussions are available at this moment for PagedHeadListView.Refer to stack overflow page for discussions.

No Community Discussions are available at this moment for PagedHeadListView.Refer to stack overflow page for discussions.

Community Discussions, Code Snippets contain sources that include Stack Exchange Network

VULNERABILITIES

No vulnerabilities reported

INSTALL PagedHeadListView

You can use PagedHeadListView like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the PagedHeadListView component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

SUPPORT

For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .

Implement PagedHeadListView faster with kandi.

  • Use the support, quality, security, license, reuse scores and reviewed functions to confirm the fit for your project.
  • Use the, Q & A, Installation and Support guides to implement faster.

Discover Millions of Libraries and
Pre-built Use Cases on kandi

EXPLORE RELATED TOPICS