Parchment

Android scrolling library

Лицензия

Лицензия

Группа

Группа

mobi.parchment
Идентификатор

Идентификатор

parchment
Последняя версия

Последняя версия

1.6.9
Дата

Дата

Тип

Тип

apklib
Описание

Описание

Parchment
Android scrolling library
Система контроля версий

Система контроля версий

https://github.com/EmirWeb/parchment

Скачать parchment

Имя Файла Размер
parchment-1.6.9.pom
parchment-1.6.9.apklib 48 KB
Обзор

Зависимости

provided (1)

Идентификатор библиотеки Тип Версия
com.google.android : android jar 4.1.1.4

test (3)

Идентификатор библиотеки Тип Версия
org.robolectric : robolectric jar 2.2
junit : junit jar 4.11
com.squareup : fest-android jar 1.0.7

Модули Проекта

Данный проект не имеет модулей.

Parchment

Build Status

Horizontal/Vertical ListView, GridView, ViewPager, and GridPatternView

The Parchment library attempts to add the functionality that developers want to their AdapterViews, by providing horizontal and vertical scrolling to all of its AdapterViews. Parchment gives developers more control of layout by choosing from a simple horizontal List View, a GridView that wraps heights or a GridPatternView that lets a user specify the grid pattern.

alt tag

Requires

Android 2.2 +

Getting Started

Step 1: Set up

pom.xml

<dependency>
    <groupId>mobi.parchment</groupId>
    <artifactId>parchment</artifactId>
    <version>1.6.9</version>
    <type>apklib</type>
</dependency>

build.gradle

dependencies {
    compile 'mobi.parchment:parchment:1.6.9@aar'
}

eclipse

[Adding parchment as an Android library in Eclipse] (https://github.com/EmirWeb/parchment/wiki/Eclipse-Tutorial)

Step 2: XML

Add one of the AdapterView classes (GridView, ListView, GridPatternView), don't forget to choose an orientation:

<mobi.parchment.widget.listview.ListView
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:parchment="http://schemas.android.com/apk/res/<YOUR PACKAGE NAME>"
    android:id="@+id/horizontal_list_view"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:scrollbars="< horizontal | vertical >"
    android:scrollbarAlwaysDrawHorizontalTrack="< true | false >"
    android:scrollbarAlwaysDrawVerticalTrack="< true | false >"
    android:clipToPadding="< true | false >"
    parchment:isViewPager="< true | false >"
    parchment:orientation="< horizontal | vertical >"
    parchment:cellSpacing="10dp"
    parchment:isCircularScroll="< true | false >"
    parchment:snapPosition="< center | start | end | onScreen >"
    parchment:snapToPosition="< true | false >" />

Step 3: Java

Set Adapters and go:

    mListView.setAdapter(mAdapter);

License:

Copyright 2014 Emir Hasanbegovic

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

mobi.parchment

Emir Hasanbegovic

Версии библиотеки

Версия
1.6.9
1.6.8
1.6.7
1.6.6
1.6.5
1.6.4
1.6.3
1.6.2
1.6.1
1.6.0
1.5.9
1.5.8
1.5.6
1.5.5
1.5.4
1.5.2
1.5.1