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