1 2 Android SwipeRefreshLayoutBasic Sample 3 =================================== 4 5 A basic sample which shows how to use SwipeRefreshLayout to add the 'swipe-to-refresh' 6 gesture to a View, enabling the ability to trigger a refresh from swiping down on the view. 7 In this sample the View which can be refreshed is a ListView. 8 9 Pre-requisites 10 -------------- 11 12 - Android SDK v23 13 - Android Build Tools v23.0.0 14 - Android Support Repository 15 16 Getting Started 17 --------------- 18 19 This sample uses the Gradle build system. To build this project, use the 20 "gradlew build" command or use "Import Project" in Android Studio. 21 22 Support 23 ------- 24 25 - Google+ Community: https://plus.google.com/communities/105153134372062985968 26 - Stack Overflow: http://stackoverflow.com/questions/tagged/android 27 28 If you've found an error in this sample, please file an issue: 29 https://github.com/googlesamples/android-SwipeRefreshLayoutBasic 30 31 Patches are encouraged, and may be submitted by forking this project and 32 submitting a pull request through GitHub. Please see CONTRIBUTING.md for more details. 33 34 License 35 ------- 36 37 Copyright 2014 The Android Open Source Project, Inc. 38 39 Licensed to the Apache Software Foundation (ASF) under one or more contributor 40 license agreements. See the NOTICE file distributed with this work for 41 additional information regarding copyright ownership. The ASF licenses this 42 file to you under the Apache License, Version 2.0 (the "License"); you may not 43 use this file except in compliance with the License. You may obtain a copy of 44 the License at 45 46 http://www.apache.org/licenses/LICENSE-2.0 47 48 Unless required by applicable law or agreed to in writing, software 49 distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 50 WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 51 License for the specific language governing permissions and limitations under 52 the License. 53