1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/chinasoft_ohos-StickyScrollView

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Это зеркальный репозиторий, синхронизируется ежедневно с исходного репозитория.
Клонировать/Скачать
Внести вклад в разработку кода
Синхронизировать код
Отмена
Подсказка: Поскольку Git не поддерживает пустые директории, создание директории приведёт к созданию пустого файла .keep.
8 лет назад
8 лет назад
Loading...
README.md

StickyScrollView

Sticky header and footer for android ScrollView.

Install

Add jitpack to your root build.gradle

	allprojects {
		repositories {
			...
			maven { url "https://jitpack.io" }
		}
	}

Add the dependency

	dependencies {
	        compile 'com.github.amarjain07:StickyScrollView:1.0.2'
	}

Usage

	<com.amar.library.ui.StickyScrollView
   		xmlns:app="http://schemas.android.com/apk/res-auto"
		android:layout_width="match_parent"
    		android:layout_height="match_parent"
		app:stickyHeader="@+id/titleLayout"
    		app:stickyFooter="@+id/buttonLayout">
		...
		<LinearLayout
            		android:id="@+id/titleLayout"
            		android:layout_width="match_parent"
            		android:layout_height="wrap_content">
			...
        	</LinearLayout>		
		<LinearLayout
            		android:id="@+id/buttonLayout"
            		android:layout_width="match_parent"
            		android:layout_height="wrap_content">
			...
        	</LinearLayout>	
		...
	</com.amar.library.ui.StickyScrollView>
	

Demo

StickyScrollViewGif

License

Copyright 2017 Amar Chand Jain

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.

Комментарии ( 0 )

Вы можете оставить комментарий после Вход в систему

Введение

Прикреплённый заголовок, закреплённый снизу ScrollView. Развернуть Свернуть
MIT
Отмена

Обновления (1)

все
4 месяцев назад

Участники (1)

все

Недавние действия

Загружен новый тег 1.0.3 4 месяца назад
Загружен новый тег 1.0.2 4 месяца назад
Загружен новый тег 1.0.1 4 месяца назад
Загружен новый тег 1.0.0 4 месяца назад
Загружен новый тег 0.0.1-SNAPSHOT 4 месяца назад
Загрузить больше
Больше нет результатов для загрузки
1
https://gitlife.ru/oschina-mirror/chinasoft_ohos-StickyScrollView.git
git@gitlife.ru:oschina-mirror/chinasoft_ohos-StickyScrollView.git
oschina-mirror
chinasoft_ohos-StickyScrollView
chinasoft_ohos-StickyScrollView
1.0.2