├── GitHub
├── Auth
│ ├── settings.gradle
│ ├── project.properties
│ ├── app
│ │ ├── src
│ │ │ └── main
│ │ │ │ ├── graphql
│ │ │ │ └── com
│ │ │ │ │ └── commonsware
│ │ │ │ │ └── graphql
│ │ │ │ │ └── github
│ │ │ │ │ └── api
│ │ │ │ │ └── GitHubApi.graphql
│ │ │ │ ├── res
│ │ │ │ ├── drawable-hdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── drawable-ldpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── drawable-mdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── drawable-xhdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── values
│ │ │ │ │ ├── strings.xml
│ │ │ │ │ ├── styles.xml
│ │ │ │ │ └── colors.xml
│ │ │ │ └── values-v21
│ │ │ │ │ └── styles.xml
│ │ │ │ ├── AndroidManifest.xml
│ │ │ │ └── java
│ │ │ │ └── com
│ │ │ │ └── commonsware
│ │ │ │ └── graphql
│ │ │ │ └── github
│ │ │ │ ├── MainActivity.java
│ │ │ │ └── RecyclerViewFragment.java
│ │ └── build.gradle
│ ├── gradle
│ │ └── wrapper
│ │ │ └── gradle-wrapper.properties
│ ├── build.gradle
│ └── proguard.cfg
├── DateTime
│ ├── settings.gradle
│ ├── project.properties
│ ├── app
│ │ ├── src
│ │ │ └── main
│ │ │ │ ├── res
│ │ │ │ ├── drawable-hdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── drawable-ldpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── drawable-mdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── drawable-xhdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── values
│ │ │ │ │ ├── strings.xml
│ │ │ │ │ ├── styles.xml
│ │ │ │ │ └── colors.xml
│ │ │ │ └── values-v21
│ │ │ │ │ └── styles.xml
│ │ │ │ ├── graphql
│ │ │ │ └── com
│ │ │ │ │ └── commonsware
│ │ │ │ │ └── graphql
│ │ │ │ │ └── github
│ │ │ │ │ └── api
│ │ │ │ │ └── GitHubApi.graphql
│ │ │ │ ├── AndroidManifest.xml
│ │ │ │ └── java
│ │ │ │ └── com
│ │ │ │ └── commonsware
│ │ │ │ └── graphql
│ │ │ │ └── github
│ │ │ │ ├── MainActivity.java
│ │ │ │ ├── ISO8601Adapter.java
│ │ │ │ └── RecyclerViewFragment.java
│ │ └── build.gradle
│ ├── gradle
│ │ └── wrapper
│ │ │ └── gradle-wrapper.properties
│ ├── build.gradle
│ └── proguard.cfg
└── Starred
│ ├── settings.gradle
│ ├── project.properties
│ ├── app
│ ├── src
│ │ └── main
│ │ │ ├── res
│ │ │ ├── drawable-hdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── drawable-ldpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── drawable-mdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── drawable-xhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── values
│ │ │ │ ├── strings.xml
│ │ │ │ ├── styles.xml
│ │ │ │ └── colors.xml
│ │ │ └── values-v21
│ │ │ │ └── styles.xml
│ │ │ ├── graphql
│ │ │ └── com
│ │ │ │ └── commonsware
│ │ │ │ └── graphql
│ │ │ │ └── github
│ │ │ │ └── api
│ │ │ │ └── GitHubApi.graphql
│ │ │ ├── AndroidManifest.xml
│ │ │ └── java
│ │ │ └── com
│ │ │ └── commonsware
│ │ │ └── graphql
│ │ │ └── github
│ │ │ ├── MainActivity.java
│ │ │ └── RecyclerViewFragment.java
│ └── build.gradle
│ ├── gradle
│ └── wrapper
│ │ └── gradle-wrapper.properties
│ ├── build.gradle
│ └── proguard.cfg
├── Trips
├── CW
│ ├── DynamicOk
│ │ ├── settings.gradle
│ │ ├── project.properties
│ │ ├── gradle.properties
│ │ ├── app
│ │ │ ├── src
│ │ │ │ └── main
│ │ │ │ │ ├── res
│ │ │ │ │ ├── drawable-hdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── drawable-ldpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── drawable-mdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── drawable-xhdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── values
│ │ │ │ │ │ ├── strings.xml
│ │ │ │ │ │ ├── styles.xml
│ │ │ │ │ │ └── colors.xml
│ │ │ │ │ ├── values-v21
│ │ │ │ │ │ └── styles.xml
│ │ │ │ │ └── layout
│ │ │ │ │ │ └── main.xml
│ │ │ │ │ ├── AndroidManifest.xml
│ │ │ │ │ └── java
│ │ │ │ │ └── com
│ │ │ │ │ └── commonsware
│ │ │ │ │ └── graphql
│ │ │ │ │ └── trips
│ │ │ │ │ └── simple
│ │ │ │ │ └── MainActivity.java
│ │ │ └── build.gradle
│ │ ├── gradle
│ │ │ └── wrapper
│ │ │ │ └── gradle-wrapper.properties
│ │ ├── build.gradle
│ │ └── proguard.cfg
│ ├── DynamicList
│ │ ├── settings.gradle
│ │ ├── project.properties
│ │ ├── gradle.properties
│ │ ├── app
│ │ │ ├── src
│ │ │ │ └── main
│ │ │ │ │ ├── res
│ │ │ │ │ ├── drawable-hdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── drawable-ldpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── drawable-mdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── drawable-xhdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── values
│ │ │ │ │ │ ├── strings.xml
│ │ │ │ │ │ ├── styles.xml
│ │ │ │ │ │ └── colors.xml
│ │ │ │ │ ├── drawable
│ │ │ │ │ │ └── item_divider.xml
│ │ │ │ │ └── values-v21
│ │ │ │ │ │ └── styles.xml
│ │ │ │ │ ├── java
│ │ │ │ │ └── com
│ │ │ │ │ │ └── commonsware
│ │ │ │ │ │ └── graphql
│ │ │ │ │ │ └── trips
│ │ │ │ │ │ └── simple
│ │ │ │ │ │ ├── GraphQLResponse.java
│ │ │ │ │ │ ├── ResponseError.java
│ │ │ │ │ │ ├── MainActivity.java
│ │ │ │ │ │ └── RecyclerViewFragment.java
│ │ │ │ │ └── AndroidManifest.xml
│ │ │ └── build.gradle
│ │ ├── gradle
│ │ │ └── wrapper
│ │ │ │ └── gradle-wrapper.properties
│ │ ├── build.gradle
│ │ └── proguard.cfg
│ ├── SearchArgs
│ │ ├── settings.gradle
│ │ ├── project.properties
│ │ ├── gradle.properties
│ │ ├── app
│ │ │ ├── src
│ │ │ │ └── main
│ │ │ │ │ ├── res
│ │ │ │ │ ├── drawable-hdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── drawable-ldpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── drawable-mdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── drawable-xhdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── values
│ │ │ │ │ │ ├── styles.xml
│ │ │ │ │ │ ├── strings.xml
│ │ │ │ │ │ └── colors.xml
│ │ │ │ │ ├── values-v21
│ │ │ │ │ │ └── styles.xml
│ │ │ │ │ ├── menu
│ │ │ │ │ │ └── actions.xml
│ │ │ │ │ └── drawable
│ │ │ │ │ │ └── ic_search_white_24dp.xml
│ │ │ │ │ ├── java
│ │ │ │ │ └── com
│ │ │ │ │ │ └── commonsware
│ │ │ │ │ │ └── graphql
│ │ │ │ │ │ └── trips
│ │ │ │ │ │ └── simple
│ │ │ │ │ │ ├── GraphQLResponse.java
│ │ │ │ │ │ ├── ResponseError.java
│ │ │ │ │ │ └── RecyclerViewFragment.java
│ │ │ │ │ └── AndroidManifest.xml
│ │ │ └── build.gradle
│ │ ├── gradle
│ │ │ └── wrapper
│ │ │ │ └── gradle-wrapper.properties
│ │ ├── build.gradle
│ │ └── proguard.cfg
│ ├── SearchVarsDyn
│ │ ├── settings.gradle
│ │ ├── project.properties
│ │ ├── gradle.properties
│ │ ├── app
│ │ │ ├── src
│ │ │ │ └── main
│ │ │ │ │ ├── res
│ │ │ │ │ ├── drawable-hdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── drawable-ldpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── drawable-mdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── drawable-xhdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── values
│ │ │ │ │ │ ├── styles.xml
│ │ │ │ │ │ ├── strings.xml
│ │ │ │ │ │ └── colors.xml
│ │ │ │ │ ├── values-v21
│ │ │ │ │ │ └── styles.xml
│ │ │ │ │ ├── menu
│ │ │ │ │ │ └── actions.xml
│ │ │ │ │ └── drawable
│ │ │ │ │ │ └── ic_search_white_24dp.xml
│ │ │ │ │ ├── java
│ │ │ │ │ └── com
│ │ │ │ │ │ └── commonsware
│ │ │ │ │ │ └── graphql
│ │ │ │ │ │ └── trips
│ │ │ │ │ │ └── simple
│ │ │ │ │ │ ├── GraphQLResponse.java
│ │ │ │ │ │ ├── ResponseError.java
│ │ │ │ │ │ └── RecyclerViewFragment.java
│ │ │ │ │ └── AndroidManifest.xml
│ │ │ └── build.gradle
│ │ ├── gradle
│ │ │ └── wrapper
│ │ │ │ └── gradle-wrapper.properties
│ │ ├── build.gradle
│ │ └── proguard.cfg
│ ├── StaticAlias
│ │ ├── settings.gradle
│ │ ├── project.properties
│ │ ├── gradle.properties
│ │ ├── app
│ │ │ ├── src
│ │ │ │ └── main
│ │ │ │ │ ├── res
│ │ │ │ │ ├── drawable-hdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── drawable-ldpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── drawable-mdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── drawable-xhdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── values
│ │ │ │ │ │ ├── styles.xml
│ │ │ │ │ │ ├── strings.xml
│ │ │ │ │ │ └── colors.xml
│ │ │ │ │ ├── values-v21
│ │ │ │ │ │ └── styles.xml
│ │ │ │ │ ├── menu
│ │ │ │ │ │ └── actions.xml
│ │ │ │ │ └── drawable
│ │ │ │ │ │ └── ic_search_white_24dp.xml
│ │ │ │ │ ├── graphql
│ │ │ │ │ └── com
│ │ │ │ │ │ └── commonsware
│ │ │ │ │ │ └── graphql
│ │ │ │ │ │ └── trips
│ │ │ │ │ │ └── api
│ │ │ │ │ │ └── TripServer.graphql
│ │ │ │ │ ├── AndroidManifest.xml
│ │ │ │ │ └── java
│ │ │ │ │ └── com
│ │ │ │ │ └── commonsware
│ │ │ │ │ └── graphql
│ │ │ │ │ └── trips
│ │ │ │ │ └── simple
│ │ │ │ │ ├── RecyclerViewFragment.java
│ │ │ │ │ └── MainActivity.java
│ │ │ ├── package.json
│ │ │ └── build.gradle
│ │ ├── gradle
│ │ │ └── wrapper
│ │ │ │ └── gradle-wrapper.properties
│ │ ├── build.gradle
│ │ └── proguard.cfg
│ ├── StaticFragment
│ │ ├── settings.gradle
│ │ ├── project.properties
│ │ ├── gradle.properties
│ │ ├── app
│ │ │ ├── src
│ │ │ │ └── main
│ │ │ │ │ ├── res
│ │ │ │ │ ├── drawable-hdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── drawable-ldpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── drawable-mdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── drawable-xhdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── values
│ │ │ │ │ │ ├── strings.xml
│ │ │ │ │ │ ├── styles.xml
│ │ │ │ │ │ └── colors.xml
│ │ │ │ │ ├── drawable
│ │ │ │ │ │ └── item_divider.xml
│ │ │ │ │ └── values-v21
│ │ │ │ │ │ └── styles.xml
│ │ │ │ │ ├── graphql
│ │ │ │ │ └── com
│ │ │ │ │ │ └── commonsware
│ │ │ │ │ │ └── graphql
│ │ │ │ │ │ └── trips
│ │ │ │ │ │ └── api
│ │ │ │ │ │ └── TripServer.graphql
│ │ │ │ │ ├── AndroidManifest.xml
│ │ │ │ │ └── java
│ │ │ │ │ └── com
│ │ │ │ │ └── commonsware
│ │ │ │ │ └── graphql
│ │ │ │ │ └── trips
│ │ │ │ │ └── simple
│ │ │ │ │ ├── MainActivity.java
│ │ │ │ │ └── RecyclerViewFragment.java
│ │ │ ├── package.json
│ │ │ └── build.gradle
│ │ ├── gradle
│ │ │ └── wrapper
│ │ │ │ └── gradle-wrapper.properties
│ │ ├── build.gradle
│ │ └── proguard.cfg
│ ├── StaticList
│ │ ├── settings.gradle
│ │ ├── project.properties
│ │ ├── gradle.properties
│ │ ├── app
│ │ │ ├── src
│ │ │ │ └── main
│ │ │ │ │ ├── res
│ │ │ │ │ ├── drawable-hdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── drawable-ldpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── drawable-mdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── drawable-xhdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── values
│ │ │ │ │ │ ├── strings.xml
│ │ │ │ │ │ ├── styles.xml
│ │ │ │ │ │ └── colors.xml
│ │ │ │ │ └── values-v21
│ │ │ │ │ │ └── styles.xml
│ │ │ │ │ ├── graphql
│ │ │ │ │ └── com
│ │ │ │ │ │ └── commonsware
│ │ │ │ │ │ └── graphql
│ │ │ │ │ │ └── trips
│ │ │ │ │ │ └── api
│ │ │ │ │ │ └── TripServer.graphql
│ │ │ │ │ ├── AndroidManifest.xml
│ │ │ │ │ └── java
│ │ │ │ │ └── com
│ │ │ │ │ └── commonsware
│ │ │ │ │ └── graphql
│ │ │ │ │ └── trips
│ │ │ │ │ └── simple
│ │ │ │ │ ├── MainActivity.java
│ │ │ │ │ └── RecyclerViewFragment.java
│ │ │ ├── package.json
│ │ │ └── build.gradle
│ │ ├── gradle
│ │ │ └── wrapper
│ │ │ │ └── gradle-wrapper.properties
│ │ ├── build.gradle
│ │ └── proguard.cfg
│ ├── StaticOkPin
│ │ ├── settings.gradle
│ │ ├── project.properties
│ │ ├── app
│ │ │ ├── src
│ │ │ │ └── main
│ │ │ │ │ ├── res
│ │ │ │ │ ├── drawable-hdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── drawable-ldpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── drawable-mdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── drawable-xhdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── values
│ │ │ │ │ │ ├── strings.xml
│ │ │ │ │ │ ├── styles.xml
│ │ │ │ │ │ └── colors.xml
│ │ │ │ │ └── values-v21
│ │ │ │ │ │ └── styles.xml
│ │ │ │ │ ├── graphql
│ │ │ │ │ └── com
│ │ │ │ │ │ └── commonsware
│ │ │ │ │ │ └── graphql
│ │ │ │ │ │ └── trips
│ │ │ │ │ │ └── api
│ │ │ │ │ │ └── TripServer.graphql
│ │ │ │ │ ├── AndroidManifest.xml
│ │ │ │ │ └── java
│ │ │ │ │ └── com
│ │ │ │ │ └── commonsware
│ │ │ │ │ └── graphql
│ │ │ │ │ └── trips
│ │ │ │ │ └── simple
│ │ │ │ │ ├── MainActivity.java
│ │ │ │ │ └── RecyclerViewFragment.java
│ │ │ └── build.gradle
│ │ ├── gradle
│ │ │ └── wrapper
│ │ │ │ └── gradle-wrapper.properties
│ │ ├── build.gradle
│ │ └── proguard.cfg
│ ├── StaticSecure
│ │ ├── settings.gradle
│ │ ├── project.properties
│ │ ├── app
│ │ │ ├── src
│ │ │ │ └── main
│ │ │ │ │ ├── res
│ │ │ │ │ ├── drawable-hdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── drawable-ldpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── drawable-mdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── drawable-xhdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── values
│ │ │ │ │ │ ├── strings.xml
│ │ │ │ │ │ ├── styles.xml
│ │ │ │ │ │ └── colors.xml
│ │ │ │ │ ├── values-v21
│ │ │ │ │ │ └── styles.xml
│ │ │ │ │ └── xml
│ │ │ │ │ │ └── network_security.xml
│ │ │ │ │ ├── graphql
│ │ │ │ │ └── com
│ │ │ │ │ │ └── commonsware
│ │ │ │ │ │ └── graphql
│ │ │ │ │ │ └── trips
│ │ │ │ │ │ └── api
│ │ │ │ │ │ └── TripServer.graphql
│ │ │ │ │ ├── AndroidManifest.xml
│ │ │ │ │ └── java
│ │ │ │ │ └── com
│ │ │ │ │ └── commonsware
│ │ │ │ │ └── graphql
│ │ │ │ │ └── trips
│ │ │ │ │ └── simple
│ │ │ │ │ ├── MainActivity.java
│ │ │ │ │ └── RecyclerViewFragment.java
│ │ │ └── build.gradle
│ │ ├── gradle
│ │ │ └── wrapper
│ │ │ │ └── gradle-wrapper.properties
│ │ ├── build.gradle
│ │ └── proguard.cfg
│ ├── StaticTest
│ │ ├── settings.gradle
│ │ ├── project.properties
│ │ ├── app
│ │ │ ├── src
│ │ │ │ └── main
│ │ │ │ │ ├── res
│ │ │ │ │ ├── drawable-hdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── drawable-ldpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── drawable-mdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── drawable-xhdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── values
│ │ │ │ │ │ ├── strings.xml
│ │ │ │ │ │ ├── styles.xml
│ │ │ │ │ │ └── colors.xml
│ │ │ │ │ └── values-v21
│ │ │ │ │ │ └── styles.xml
│ │ │ │ │ ├── graphql
│ │ │ │ │ └── com
│ │ │ │ │ │ └── commonsware
│ │ │ │ │ │ └── graphql
│ │ │ │ │ │ └── trips
│ │ │ │ │ │ └── api
│ │ │ │ │ │ └── TripServer.graphql
│ │ │ │ │ ├── AndroidManifest.xml
│ │ │ │ │ └── java
│ │ │ │ │ └── com
│ │ │ │ │ └── commonsware
│ │ │ │ │ └── graphql
│ │ │ │ │ └── trips
│ │ │ │ │ └── simple
│ │ │ │ │ ├── MainActivity.java
│ │ │ │ │ └── RecyclerViewFragment.java
│ │ │ └── build.gradle
│ │ ├── gradle
│ │ │ └── wrapper
│ │ │ │ └── gradle-wrapper.properties
│ │ ├── build.gradle
│ │ └── proguard.cfg
│ ├── SearchVarsStatic
│ │ ├── settings.gradle
│ │ ├── project.properties
│ │ ├── gradle.properties
│ │ ├── app
│ │ │ ├── src
│ │ │ │ └── main
│ │ │ │ │ ├── res
│ │ │ │ │ ├── drawable-hdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── drawable-ldpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── drawable-mdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── drawable-xhdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── values
│ │ │ │ │ │ ├── styles.xml
│ │ │ │ │ │ ├── strings.xml
│ │ │ │ │ │ └── colors.xml
│ │ │ │ │ ├── values-v21
│ │ │ │ │ │ └── styles.xml
│ │ │ │ │ ├── menu
│ │ │ │ │ │ └── actions.xml
│ │ │ │ │ └── drawable
│ │ │ │ │ │ └── ic_search_white_24dp.xml
│ │ │ │ │ ├── graphql
│ │ │ │ │ └── com
│ │ │ │ │ │ └── commonsware
│ │ │ │ │ │ └── graphql
│ │ │ │ │ │ └── trips
│ │ │ │ │ │ └── api
│ │ │ │ │ │ └── TripServer.graphql
│ │ │ │ │ ├── AndroidManifest.xml
│ │ │ │ │ └── java
│ │ │ │ │ └── com
│ │ │ │ │ └── commonsware
│ │ │ │ │ └── graphql
│ │ │ │ │ └── trips
│ │ │ │ │ └── simple
│ │ │ │ │ ├── RecyclerViewFragment.java
│ │ │ │ │ └── MainActivity.java
│ │ │ └── build.gradle
│ │ ├── gradle
│ │ │ └── wrapper
│ │ │ │ └── gradle-wrapper.properties
│ │ ├── build.gradle
│ │ └── proguard.cfg
│ └── StaticInlineFrag
│ │ ├── settings.gradle
│ │ ├── project.properties
│ │ ├── gradle.properties
│ │ ├── app
│ │ ├── src
│ │ │ └── main
│ │ │ │ ├── res
│ │ │ │ ├── drawable-hdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── drawable-ldpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── drawable-mdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── drawable-xhdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── values
│ │ │ │ │ ├── styles.xml
│ │ │ │ │ ├── strings.xml
│ │ │ │ │ └── colors.xml
│ │ │ │ ├── values-v21
│ │ │ │ │ └── styles.xml
│ │ │ │ ├── menu
│ │ │ │ │ └── actions.xml
│ │ │ │ └── drawable
│ │ │ │ │ └── ic_search_white_24dp.xml
│ │ │ │ ├── graphql
│ │ │ │ └── com
│ │ │ │ │ └── commonsware
│ │ │ │ │ └── graphql
│ │ │ │ │ └── trips
│ │ │ │ │ └── api
│ │ │ │ │ └── TripServer.graphql
│ │ │ │ ├── AndroidManifest.xml
│ │ │ │ └── java
│ │ │ │ └── com
│ │ │ │ └── commonsware
│ │ │ │ └── graphql
│ │ │ │ └── trips
│ │ │ │ └── simple
│ │ │ │ ├── RecyclerViewFragment.java
│ │ │ │ └── MainActivity.java
│ │ └── build.gradle
│ │ ├── gradle
│ │ └── wrapper
│ │ │ └── gradle-wrapper.properties
│ │ ├── build.gradle
│ │ └── proguard.cfg
└── Local
│ ├── CRUD
│ ├── settings.gradle
│ ├── project.properties
│ ├── gradle.properties
│ ├── app
│ │ ├── src
│ │ │ └── main
│ │ │ │ ├── res
│ │ │ │ ├── drawable-hdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── drawable-ldpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── drawable-mdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── drawable-xhdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── values
│ │ │ │ │ ├── styles.xml
│ │ │ │ │ ├── arrays.xml
│ │ │ │ │ ├── colors.xml
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── drawable
│ │ │ │ │ ├── item_divider.xml
│ │ │ │ │ ├── ic_add_white_24dp.xml
│ │ │ │ │ ├── ic_event_white_24dp.xml
│ │ │ │ │ └── ic_search_white_24dp.xml
│ │ │ │ ├── menu
│ │ │ │ │ ├── main.xml
│ │ │ │ │ └── actions.xml
│ │ │ │ └── values-v21
│ │ │ │ │ └── styles.xml
│ │ │ │ ├── graphql
│ │ │ │ └── com
│ │ │ │ │ └── commonsware
│ │ │ │ │ └── graphql
│ │ │ │ │ └── trips
│ │ │ │ │ └── api
│ │ │ │ │ └── TripServer.graphql
│ │ │ │ ├── AndroidManifest.xml
│ │ │ │ └── java
│ │ │ │ └── com
│ │ │ │ └── commonsware
│ │ │ │ └── graphql
│ │ │ │ └── trips
│ │ │ │ └── crud
│ │ │ │ ├── TripCreatedEvent.java
│ │ │ │ ├── RecyclerViewFragment.java
│ │ │ │ └── HorizontalDividerItemDecoration.java
│ │ ├── package.json
│ │ └── build.gradle
│ ├── gradle
│ │ └── wrapper
│ │ │ └── gradle-wrapper.properties
│ ├── build.gradle
│ └── proguard.cfg
│ ├── package.json
│ └── server.js
└── README.markdown
/GitHub/Auth/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/GitHub/Auth/project.properties:
--------------------------------------------------------------------------------
1 | target=android-19
2 |
--------------------------------------------------------------------------------
/GitHub/DateTime/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/GitHub/Starred/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Trips/CW/DynamicOk/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Trips/Local/CRUD/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/GitHub/DateTime/project.properties:
--------------------------------------------------------------------------------
1 | target=android-19
2 |
--------------------------------------------------------------------------------
/GitHub/Starred/project.properties:
--------------------------------------------------------------------------------
1 | target=android-19
2 |
--------------------------------------------------------------------------------
/Trips/CW/DynamicList/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Trips/CW/SearchArgs/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsDyn/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Trips/CW/StaticAlias/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Trips/CW/StaticFragment/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Trips/CW/StaticList/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Trips/CW/StaticOkPin/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Trips/CW/StaticSecure/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Trips/CW/StaticTest/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Trips/Local/CRUD/project.properties:
--------------------------------------------------------------------------------
1 | target=android-19
2 |
--------------------------------------------------------------------------------
/Trips/CW/DynamicList/project.properties:
--------------------------------------------------------------------------------
1 | target=android-19
2 |
--------------------------------------------------------------------------------
/Trips/CW/DynamicOk/project.properties:
--------------------------------------------------------------------------------
1 | target=android-19
2 |
--------------------------------------------------------------------------------
/Trips/CW/SearchArgs/project.properties:
--------------------------------------------------------------------------------
1 | target=android-19
2 |
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsDyn/project.properties:
--------------------------------------------------------------------------------
1 | target=android-19
2 |
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsStatic/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Trips/CW/StaticAlias/project.properties:
--------------------------------------------------------------------------------
1 | target=android-19
2 |
--------------------------------------------------------------------------------
/Trips/CW/StaticInlineFrag/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Trips/CW/StaticList/project.properties:
--------------------------------------------------------------------------------
1 | target=android-19
2 |
--------------------------------------------------------------------------------
/Trips/CW/StaticOkPin/project.properties:
--------------------------------------------------------------------------------
1 | target=android-19
2 |
--------------------------------------------------------------------------------
/Trips/CW/StaticSecure/project.properties:
--------------------------------------------------------------------------------
1 | target=android-19
2 |
--------------------------------------------------------------------------------
/Trips/CW/StaticTest/project.properties:
--------------------------------------------------------------------------------
1 | target=android-19
2 |
--------------------------------------------------------------------------------
/Trips/CW/DynamicList/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
--------------------------------------------------------------------------------
/Trips/CW/DynamicOk/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
--------------------------------------------------------------------------------
/Trips/CW/SearchArgs/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsDyn/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsStatic/project.properties:
--------------------------------------------------------------------------------
1 | target=android-19
2 |
--------------------------------------------------------------------------------
/Trips/CW/StaticAlias/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
--------------------------------------------------------------------------------
/Trips/CW/StaticFragment/project.properties:
--------------------------------------------------------------------------------
1 | target=android-19
2 |
--------------------------------------------------------------------------------
/Trips/CW/StaticInlineFrag/project.properties:
--------------------------------------------------------------------------------
1 | target=android-19
2 |
--------------------------------------------------------------------------------
/Trips/CW/StaticList/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsStatic/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
--------------------------------------------------------------------------------
/Trips/CW/StaticFragment/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
--------------------------------------------------------------------------------
/Trips/CW/StaticInlineFrag/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
--------------------------------------------------------------------------------
/Trips/Local/CRUD/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 |
3 | LOCAL_SERVER_URL=http://10.0.2.2:4000/0.1/graphql/
--------------------------------------------------------------------------------
/GitHub/Auth/app/src/main/graphql/com/commonsware/graphql/github/api/GitHubApi.graphql:
--------------------------------------------------------------------------------
1 | query whoami {
2 | viewer {
3 | login
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/GitHub/Auth/app/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/GitHub/Auth/app/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/GitHub/Auth/app/src/main/res/drawable-ldpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/GitHub/Auth/app/src/main/res/drawable-ldpi/ic_launcher.png
--------------------------------------------------------------------------------
/GitHub/Auth/app/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/GitHub/Auth/app/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/GitHub/Auth/app/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/GitHub/Auth/app/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/GitHub/DateTime/app/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/GitHub/DateTime/app/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/GitHub/DateTime/app/src/main/res/drawable-ldpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/GitHub/DateTime/app/src/main/res/drawable-ldpi/ic_launcher.png
--------------------------------------------------------------------------------
/GitHub/DateTime/app/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/GitHub/DateTime/app/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/GitHub/DateTime/app/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/GitHub/DateTime/app/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/GitHub/Starred/app/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/GitHub/Starred/app/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/GitHub/Starred/app/src/main/res/drawable-ldpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/GitHub/Starred/app/src/main/res/drawable-ldpi/ic_launcher.png
--------------------------------------------------------------------------------
/GitHub/Starred/app/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/GitHub/Starred/app/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/GitHub/Starred/app/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/GitHub/Starred/app/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/Local/CRUD/app/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/Local/CRUD/app/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/Local/CRUD/app/src/main/res/drawable-ldpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/Local/CRUD/app/src/main/res/drawable-ldpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/Local/CRUD/app/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/Local/CRUD/app/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/DynamicOk/app/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/DynamicOk/app/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/DynamicOk/app/src/main/res/drawable-ldpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/DynamicOk/app/src/main/res/drawable-ldpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/DynamicOk/app/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/DynamicOk/app/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/Local/CRUD/app/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/Local/CRUD/app/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/DynamicList/app/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/DynamicList/app/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/DynamicList/app/src/main/res/drawable-ldpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/DynamicList/app/src/main/res/drawable-ldpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/DynamicList/app/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/DynamicList/app/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/DynamicList/app/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/DynamicList/app/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/DynamicOk/app/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/DynamicOk/app/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/SearchArgs/app/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/SearchArgs/app/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/SearchArgs/app/src/main/res/drawable-ldpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/SearchArgs/app/src/main/res/drawable-ldpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/SearchArgs/app/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/SearchArgs/app/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/SearchArgs/app/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/SearchArgs/app/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/StaticAlias/app/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/StaticAlias/app/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/StaticAlias/app/src/main/res/drawable-ldpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/StaticAlias/app/src/main/res/drawable-ldpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/StaticAlias/app/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/StaticAlias/app/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/StaticAlias/app/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/StaticAlias/app/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/StaticList/app/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/StaticList/app/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/StaticList/app/src/main/res/drawable-ldpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/StaticList/app/src/main/res/drawable-ldpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/StaticList/app/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/StaticList/app/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/StaticList/app/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/StaticList/app/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/StaticOkPin/app/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/StaticOkPin/app/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/StaticOkPin/app/src/main/res/drawable-ldpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/StaticOkPin/app/src/main/res/drawable-ldpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/StaticOkPin/app/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/StaticOkPin/app/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/StaticOkPin/app/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/StaticOkPin/app/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/StaticSecure/app/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/StaticSecure/app/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/StaticSecure/app/src/main/res/drawable-ldpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/StaticSecure/app/src/main/res/drawable-ldpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/StaticSecure/app/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/StaticSecure/app/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/StaticTest/app/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/StaticTest/app/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/StaticTest/app/src/main/res/drawable-ldpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/StaticTest/app/src/main/res/drawable-ldpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/StaticTest/app/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/StaticTest/app/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/StaticTest/app/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/StaticTest/app/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsDyn/app/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/SearchVarsDyn/app/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsDyn/app/src/main/res/drawable-ldpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/SearchVarsDyn/app/src/main/res/drawable-ldpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsDyn/app/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/SearchVarsDyn/app/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsDyn/app/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/SearchVarsDyn/app/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/StaticFragment/app/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/StaticFragment/app/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/StaticFragment/app/src/main/res/drawable-ldpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/StaticFragment/app/src/main/res/drawable-ldpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/StaticFragment/app/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/StaticFragment/app/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/StaticSecure/app/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/StaticSecure/app/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsStatic/app/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/SearchVarsStatic/app/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsStatic/app/src/main/res/drawable-ldpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/SearchVarsStatic/app/src/main/res/drawable-ldpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsStatic/app/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/SearchVarsStatic/app/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsStatic/app/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/SearchVarsStatic/app/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/StaticFragment/app/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/StaticFragment/app/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/StaticInlineFrag/app/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/StaticInlineFrag/app/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/StaticInlineFrag/app/src/main/res/drawable-ldpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/StaticInlineFrag/app/src/main/res/drawable-ldpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/StaticInlineFrag/app/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/StaticInlineFrag/app/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Trips/CW/StaticInlineFrag/app/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/commonsguy/cw-graphql/HEAD/Trips/CW/StaticInlineFrag/app/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/GitHub/Auth/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | GitHub Auth Demo
4 | Done!
5 |
--------------------------------------------------------------------------------
/GitHub/Auth/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
--------------------------------------------------------------------------------
/GitHub/DateTime/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | GitHub DateTime Demo
4 | Done!
5 |
--------------------------------------------------------------------------------
/GitHub/Starred/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | GitHub Starred Demo
4 | Done!
5 |
--------------------------------------------------------------------------------
/Trips/CW/StaticList/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Static List Demo
4 | Done!
5 |
--------------------------------------------------------------------------------
/Trips/CW/StaticOkPin/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | OkHttp Pin Demo
4 | Done!
5 |
--------------------------------------------------------------------------------
/Trips/CW/StaticTest/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Static List Demo
4 | Done!
5 |
--------------------------------------------------------------------------------
/GitHub/DateTime/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
--------------------------------------------------------------------------------
/GitHub/Starred/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
--------------------------------------------------------------------------------
/Trips/CW/DynamicList/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Dynamic List Demo
4 | Done!
5 |
--------------------------------------------------------------------------------
/Trips/CW/DynamicOk/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Dynamic OkHttp Demo
4 | Done!
5 |
--------------------------------------------------------------------------------
/Trips/Local/CRUD/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
--------------------------------------------------------------------------------
/Trips/CW/DynamicList/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
--------------------------------------------------------------------------------
/Trips/CW/DynamicOk/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
--------------------------------------------------------------------------------
/Trips/CW/SearchArgs/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsDyn/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
--------------------------------------------------------------------------------
/Trips/CW/StaticAlias/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
--------------------------------------------------------------------------------
/Trips/CW/StaticFragment/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Static Fragment Demo
4 | Done!
5 |
--------------------------------------------------------------------------------
/Trips/CW/StaticList/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
--------------------------------------------------------------------------------
/Trips/CW/StaticOkPin/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
--------------------------------------------------------------------------------
/Trips/CW/StaticSecure/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Network Security Demo
4 | Done!
5 |
--------------------------------------------------------------------------------
/Trips/CW/StaticSecure/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
--------------------------------------------------------------------------------
/Trips/CW/StaticTest/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsStatic/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
--------------------------------------------------------------------------------
/Trips/CW/StaticFragment/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
--------------------------------------------------------------------------------
/Trips/CW/StaticInlineFrag/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
--------------------------------------------------------------------------------
/Trips/CW/StaticList/app/src/main/graphql/com/commonsware/graphql/trips/api/TripServer.graphql:
--------------------------------------------------------------------------------
1 | query getAllTrips {
2 | allTrips {
3 | id
4 | title
5 | startTime
6 | priority
7 | duration
8 | creationTime
9 | }
10 | }
11 |
12 |
--------------------------------------------------------------------------------
/Trips/CW/StaticTest/app/src/main/graphql/com/commonsware/graphql/trips/api/TripServer.graphql:
--------------------------------------------------------------------------------
1 | query getAllTrips {
2 | allTrips {
3 | id
4 | title
5 | startTime
6 | priority
7 | duration
8 | creationTime
9 | }
10 | }
11 |
12 |
--------------------------------------------------------------------------------
/Trips/CW/StaticOkPin/app/src/main/graphql/com/commonsware/graphql/trips/api/TripServer.graphql:
--------------------------------------------------------------------------------
1 | query getAllTrips {
2 | allTrips {
3 | id
4 | title
5 | startTime
6 | priority
7 | duration
8 | creationTime
9 | }
10 | }
11 |
12 |
--------------------------------------------------------------------------------
/Trips/CW/StaticSecure/app/src/main/graphql/com/commonsware/graphql/trips/api/TripServer.graphql:
--------------------------------------------------------------------------------
1 | query getAllTrips {
2 | allTrips {
3 | id
4 | title
5 | startTime
6 | priority
7 | duration
8 | creationTime
9 | }
10 | }
11 |
12 |
--------------------------------------------------------------------------------
/Trips/Local/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "dependencies": {
3 | "express": "^4.14.0",
4 | "express-graphql": "^0.6.1",
5 | "graphql": "^0.8.2",
6 | "graphql-errors": "2.1.0",
7 | "graphql-tools": "^1.0.0",
8 | "uuid": "^3.0.1"
9 | }
10 | }
--------------------------------------------------------------------------------
/Trips/Local/CRUD/app/src/main/res/values/arrays.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | - Low
5 | - Medium
6 | - High
7 | - OMG
8 |
9 |
--------------------------------------------------------------------------------
/GitHub/Auth/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Tue May 08 07:44:23 EDT 2018
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
7 |
--------------------------------------------------------------------------------
/GitHub/DateTime/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Apr 10 15:27:10 PDT 2013
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
7 |
--------------------------------------------------------------------------------
/GitHub/Starred/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Apr 10 15:27:10 PDT 2013
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
7 |
--------------------------------------------------------------------------------
/Trips/CW/DynamicOk/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Thu Apr 20 18:04:28 EDT 2017
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
7 |
--------------------------------------------------------------------------------
/Trips/Local/CRUD/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Apr 10 15:27:10 PDT 2013
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
7 |
--------------------------------------------------------------------------------
/Trips/CW/DynamicList/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Sat Mar 18 11:04:26 EDT 2017
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
7 |
--------------------------------------------------------------------------------
/Trips/CW/SearchArgs/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Sun Mar 12 13:15:36 EDT 2017
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
7 |
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsDyn/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Sun Mar 12 14:18:01 EDT 2017
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
7 |
--------------------------------------------------------------------------------
/Trips/CW/StaticAlias/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Apr 10 15:27:10 PDT 2013
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
7 |
--------------------------------------------------------------------------------
/Trips/CW/StaticFragment/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Apr 10 15:27:10 PDT 2013
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
7 |
--------------------------------------------------------------------------------
/Trips/CW/StaticList/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Apr 10 15:27:10 PDT 2013
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
7 |
--------------------------------------------------------------------------------
/Trips/CW/StaticOkPin/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Apr 10 15:27:10 PDT 2013
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
7 |
--------------------------------------------------------------------------------
/Trips/CW/StaticSecure/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Apr 10 15:27:10 PDT 2013
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
7 |
--------------------------------------------------------------------------------
/Trips/CW/StaticTest/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Apr 10 15:27:10 PDT 2013
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
7 |
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsStatic/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Apr 10 15:27:10 PDT 2013
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
7 |
--------------------------------------------------------------------------------
/Trips/CW/StaticInlineFrag/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Apr 10 15:27:10 PDT 2013
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
7 |
--------------------------------------------------------------------------------
/Trips/CW/StaticFragment/app/src/main/graphql/com/commonsware/graphql/trips/api/TripServer.graphql:
--------------------------------------------------------------------------------
1 | query getAllTrips {
2 | allTrips {
3 | ...commonFields
4 | startTime
5 | priority
6 | duration
7 | creationTime
8 | }
9 | }
10 |
11 | fragment commonFields on Plan {
12 | id
13 | title
14 | }
15 |
--------------------------------------------------------------------------------
/Trips/CW/StaticAlias/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Alias Demo
4 | Done!
5 | Search
6 | "Search results for: "
7 |
--------------------------------------------------------------------------------
/Trips/CW/SearchArgs/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Search Args Demo
4 | Done!
5 | Search
6 | "Search results for: "
7 |
--------------------------------------------------------------------------------
/Trips/CW/StaticInlineFrag/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Inline Fragment Demo
4 | Done!
5 | Search
6 | "Search results for: "
7 |
--------------------------------------------------------------------------------
/Trips/Local/CRUD/app/src/main/res/drawable/item_divider.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Trips/CW/DynamicList/app/src/main/res/drawable/item_divider.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsDyn/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Search Vars Dynamic Demo
4 | Done!
5 | Search
6 | "Search results for: "
7 |
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsStatic/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Search Vars Static Demo
4 | Done!
5 | Search
6 | "Search results for: "
7 |
--------------------------------------------------------------------------------
/Trips/Local/CRUD/app/src/main/res/menu/main.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/Trips/CW/StaticFragment/app/src/main/res/drawable/item_divider.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/GitHub/Auth/app/src/main/res/values-v21/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
--------------------------------------------------------------------------------
/GitHub/Starred/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | repositories {
3 | jcenter()
4 | }
5 | dependencies {
6 | classpath 'com.android.tools.build:gradle:2.3.3'
7 | classpath 'com.apollographql.apollo:gradle-plugin:0.4.0'
8 | }
9 | }
10 |
11 | allprojects {
12 | repositories {
13 | jcenter()
14 | maven { url 'https://maven.google.com' }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/GitHub/DateTime/app/src/main/res/values-v21/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
--------------------------------------------------------------------------------
/GitHub/DateTime/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | repositories {
3 | jcenter()
4 | }
5 | dependencies {
6 | classpath 'com.android.tools.build:gradle:2.3.3'
7 | classpath 'com.apollographql.apollo:gradle-plugin:0.4.0'
8 | }
9 | }
10 |
11 | allprojects {
12 | repositories {
13 | jcenter()
14 | maven { url 'https://maven.google.com' }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/GitHub/Starred/app/src/main/res/values-v21/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
--------------------------------------------------------------------------------
/Trips/CW/StaticList/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | repositories {
3 | jcenter()
4 | }
5 | dependencies {
6 | classpath 'com.android.tools.build:gradle:2.3.3'
7 | classpath 'com.apollographql.apollo:gradle-plugin:0.4.0'
8 | }
9 | }
10 |
11 | allprojects {
12 | repositories {
13 | jcenter()
14 | maven { url 'https://maven.google.com' }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Trips/CW/StaticTest/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | repositories {
3 | jcenter()
4 | }
5 | dependencies {
6 | classpath 'com.android.tools.build:gradle:2.3.3'
7 | classpath 'com.apollographql.apollo:gradle-plugin:0.4.0'
8 | }
9 | }
10 |
11 | allprojects {
12 | repositories {
13 | jcenter()
14 | maven { url 'https://maven.google.com' }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Trips/Local/CRUD/app/src/main/res/values-v21/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
--------------------------------------------------------------------------------
/Trips/Local/CRUD/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | repositories {
3 | jcenter()
4 | }
5 | dependencies {
6 | classpath 'com.android.tools.build:gradle:2.3.3'
7 | classpath 'com.apollographql.apollo:gradle-plugin:0.4.0'
8 | }
9 | }
10 |
11 | allprojects {
12 | repositories {
13 | jcenter()
14 | maven { url 'https://maven.google.com' }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Trips/CW/DynamicList/app/src/main/res/values-v21/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
--------------------------------------------------------------------------------
/Trips/CW/DynamicOk/app/src/main/res/values-v21/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
--------------------------------------------------------------------------------
/Trips/CW/SearchArgs/app/src/main/res/values-v21/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
--------------------------------------------------------------------------------
/Trips/CW/StaticAlias/app/src/main/res/values-v21/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
--------------------------------------------------------------------------------
/Trips/CW/StaticAlias/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | repositories {
3 | jcenter()
4 | }
5 | dependencies {
6 | classpath 'com.android.tools.build:gradle:2.3.3'
7 | classpath 'com.apollographql.apollo:gradle-plugin:0.4.0'
8 | }
9 | }
10 |
11 | allprojects {
12 | repositories {
13 | jcenter()
14 | maven { url 'https://maven.google.com' }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Trips/CW/StaticFragment/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | repositories {
3 | jcenter()
4 | }
5 | dependencies {
6 | classpath 'com.android.tools.build:gradle:2.3.3'
7 | classpath 'com.apollographql.apollo:gradle-plugin:0.4.0'
8 | }
9 | }
10 |
11 | allprojects {
12 | repositories {
13 | jcenter()
14 | maven { url 'https://maven.google.com' }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Trips/CW/StaticList/app/src/main/res/values-v21/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
--------------------------------------------------------------------------------
/Trips/CW/StaticOkPin/app/src/main/res/values-v21/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
--------------------------------------------------------------------------------
/Trips/CW/StaticOkPin/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | repositories {
3 | jcenter()
4 | }
5 | dependencies {
6 | classpath 'com.android.tools.build:gradle:2.3.3'
7 | classpath 'com.apollographql.apollo:gradle-plugin:0.4.0'
8 | }
9 | }
10 |
11 | allprojects {
12 | repositories {
13 | jcenter()
14 | maven { url 'https://maven.google.com' }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Trips/CW/StaticSecure/app/src/main/res/values-v21/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
--------------------------------------------------------------------------------
/Trips/CW/StaticTest/app/src/main/res/values-v21/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsDyn/app/src/main/res/values-v21/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsStatic/app/src/main/res/values-v21/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsStatic/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | repositories {
3 | jcenter()
4 | }
5 | dependencies {
6 | classpath 'com.android.tools.build:gradle:2.3.3'
7 | classpath 'com.apollographql.apollo:gradle-plugin:0.4.0'
8 | }
9 | }
10 |
11 | allprojects {
12 | repositories {
13 | jcenter()
14 | maven { url 'https://maven.google.com' }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Trips/CW/StaticFragment/app/src/main/res/values-v21/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
--------------------------------------------------------------------------------
/Trips/CW/StaticInlineFrag/app/src/main/res/values-v21/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
--------------------------------------------------------------------------------
/Trips/CW/StaticInlineFrag/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | repositories {
3 | jcenter()
4 | }
5 | dependencies {
6 | classpath 'com.android.tools.build:gradle:2.3.3'
7 | classpath 'com.apollographql.apollo:gradle-plugin:0.4.0'
8 | }
9 | }
10 |
11 | allprojects {
12 | repositories {
13 | jcenter()
14 | maven { url 'https://maven.google.com' }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Trips/Local/CRUD/app/src/main/res/drawable/ic_add_white_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/GitHub/Auth/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | repositories {
3 | jcenter()
4 | google()
5 | }
6 | dependencies {
7 | classpath 'com.android.tools.build:gradle:3.1.2'
8 | classpath 'com.apollographql.apollo:gradle-plugin:0.4.0'
9 | }
10 | }
11 |
12 | allprojects {
13 | repositories {
14 | jcenter()
15 | maven { url 'https://maven.google.com' }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsStatic/app/src/main/graphql/com/commonsware/graphql/trips/api/TripServer.graphql:
--------------------------------------------------------------------------------
1 | query getAllTrips {
2 | allTrips {
3 | ...tripFields
4 | }
5 | }
6 |
7 | query findTrips($search: String!) {
8 | findTrips(searchFor: $search) {
9 | ...tripFields
10 | }
11 | }
12 |
13 | fragment tripFields on Trip {
14 | id
15 | title
16 | startTime
17 | priority
18 | duration
19 | creationTime
20 | }
--------------------------------------------------------------------------------
/Trips/Local/server.js:
--------------------------------------------------------------------------------
1 | var express = require('express');
2 | var app = express();
3 | var v0p1 = require('./server-v0.1.js')
4 | var v0p2 = require('./server-v0.2.js')
5 | var v0p3 = require('./server-v0.3.js')
6 |
7 | app.use(v0p1.route(), v0p1.handler());
8 | app.use(v0p2.route(), v0p2.handler());
9 | app.use(v0p3.route(), v0p3.handler());
10 | app.listen(4000);
11 | console.log('Running a GraphQL API server at localhost:4000');
12 |
--------------------------------------------------------------------------------
/Trips/CW/SearchArgs/app/src/main/res/menu/actions.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/Trips/Local/CRUD/app/src/main/res/menu/actions.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsDyn/app/src/main/res/menu/actions.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/Trips/CW/StaticAlias/app/src/main/res/menu/actions.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsStatic/app/src/main/res/menu/actions.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/Trips/CW/StaticAlias/app/src/main/graphql/com/commonsware/graphql/trips/api/TripServer.graphql:
--------------------------------------------------------------------------------
1 | query getAllTrips {
2 | result: allTrips {
3 | ...tripFields
4 | }
5 | }
6 |
7 | query findTrips($search: String!) {
8 | result: findTrips(searchFor: $search) {
9 | ...tripFields
10 | }
11 | }
12 |
13 | fragment tripFields on Trip {
14 | id
15 | displayName: title
16 | startTime
17 | priority
18 | duration
19 | creationTime
20 | }
--------------------------------------------------------------------------------
/Trips/CW/StaticInlineFrag/app/src/main/res/menu/actions.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/Trips/CW/StaticSecure/app/src/main/res/xml/network_security.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | graphql-demo.commonsware.com
5 |
6 | 3Zeb2W9lSpG9DrsLH03DRCxcu0j7BFyLVXcR7cZW9tQ=
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Trips/Local/CRUD/app/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "apollo-android",
3 | "version": "0.0.1",
4 | "description": "Generates Java code based on a GraphQL schema and query documents. Uses apollo-codegen under the hood.",
5 | "repository": {
6 | "type": "git",
7 | "url": "git+https://github.com/apollostack/apollo-android.git"
8 | },
9 | "author": "Apollo",
10 | "license": "MIT",
11 | "dependencies": {
12 | "apollo-codegen": "0.10.5"
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/GitHub/Starred/app/src/main/graphql/com/commonsware/graphql/github/api/GitHubApi.graphql:
--------------------------------------------------------------------------------
1 | query myStars($first: Int, $after: String) {
2 | viewer {
3 | login
4 | starredRepositories(first: $first, after: $after, orderBy: {field: STARRED_AT, direction: DESC}) {
5 | edges {
6 | cursor
7 | node {
8 | id
9 | name
10 | }
11 | }
12 | pageInfo {
13 | hasNextPage
14 | }
15 | }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/Trips/CW/StaticAlias/app/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "apollo-android",
3 | "version": "0.0.1",
4 | "description": "Generates Java code based on a GraphQL schema and query documents. Uses apollo-codegen under the hood.",
5 | "repository": {
6 | "type": "git",
7 | "url": "git+https://github.com/apollostack/apollo-android.git"
8 | },
9 | "author": "Apollo",
10 | "license": "MIT",
11 | "dependencies": {
12 | "apollo-codegen": "0.10.5"
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/Trips/CW/StaticList/app/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "apollo-android",
3 | "version": "0.0.1",
4 | "description": "Generates Java code based on a GraphQL schema and query documents. Uses apollo-codegen under the hood.",
5 | "repository": {
6 | "type": "git",
7 | "url": "git+https://github.com/apollostack/apollo-android.git"
8 | },
9 | "author": "Apollo",
10 | "license": "MIT",
11 | "dependencies": {
12 | "apollo-codegen": "0.10.5"
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/Trips/CW/StaticFragment/app/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "apollo-android",
3 | "version": "0.0.1",
4 | "description": "Generates Java code based on a GraphQL schema and query documents. Uses apollo-codegen under the hood.",
5 | "repository": {
6 | "type": "git",
7 | "url": "git+https://github.com/apollostack/apollo-android.git"
8 | },
9 | "author": "Apollo",
10 | "license": "MIT",
11 | "dependencies": {
12 | "apollo-codegen": "0.10.5"
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/GitHub/Auth/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #009688
4 | #00796B
5 | #B2DFDB
6 | #FFAB00
7 | #212121
8 | #757575
9 | #FFFFFF
10 | #BDBDBD
11 |
12 |
--------------------------------------------------------------------------------
/Trips/CW/StaticSecure/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | repositories {
3 | jcenter()
4 | }
5 | dependencies {
6 | classpath 'com.android.tools.build:gradle:2.3.3'
7 | classpath 'com.apollographql.apollo:gradle-plugin:0.4.0'
8 | }
9 | }
10 |
11 | allprojects {
12 | repositories {
13 | jcenter()
14 | maven { url "https://s3.amazonaws.com/repo.commonsware.com" }
15 | maven { url 'https://maven.google.com' }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/GitHub/DateTime/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #009688
4 | #00796B
5 | #B2DFDB
6 | #FFAB00
7 | #212121
8 | #757575
9 | #FFFFFF
10 | #BDBDBD
11 |
12 |
--------------------------------------------------------------------------------
/GitHub/Starred/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #009688
4 | #00796B
5 | #B2DFDB
6 | #FFAB00
7 | #212121
8 | #757575
9 | #FFFFFF
10 | #BDBDBD
11 |
12 |
--------------------------------------------------------------------------------
/Trips/CW/DynamicOk/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #009688
4 | #00796B
5 | #B2DFDB
6 | #FFAB00
7 | #212121
8 | #757575
9 | #FFFFFF
10 | #BDBDBD
11 |
12 |
--------------------------------------------------------------------------------
/Trips/Local/CRUD/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #009688
4 | #00796B
5 | #B2DFDB
6 | #FFAB00
7 | #212121
8 | #757575
9 | #FFFFFF
10 | #BDBDBD
11 |
12 |
--------------------------------------------------------------------------------
/GitHub/DateTime/app/src/main/graphql/com/commonsware/graphql/github/api/GitHubApi.graphql:
--------------------------------------------------------------------------------
1 | query myStars($first: Int, $after: String) {
2 | viewer {
3 | login
4 | starredRepositories(first: $first, after: $after, orderBy: {field: STARRED_AT, direction: DESC}) {
5 | edges {
6 | cursor
7 | node {
8 | id
9 | name
10 | createdAt
11 | }
12 | }
13 | pageInfo {
14 | hasNextPage
15 | }
16 | }
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/Trips/CW/DynamicList/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #009688
4 | #00796B
5 | #B2DFDB
6 | #FFAB00
7 | #212121
8 | #757575
9 | #FFFFFF
10 | #BDBDBD
11 |
12 |
--------------------------------------------------------------------------------
/Trips/CW/SearchArgs/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #009688
4 | #00796B
5 | #B2DFDB
6 | #FFAB00
7 | #212121
8 | #757575
9 | #FFFFFF
10 | #BDBDBD
11 |
12 |
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsDyn/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #009688
4 | #00796B
5 | #B2DFDB
6 | #FFAB00
7 | #212121
8 | #757575
9 | #FFFFFF
10 | #BDBDBD
11 |
12 |
--------------------------------------------------------------------------------
/Trips/CW/StaticAlias/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #009688
4 | #00796B
5 | #B2DFDB
6 | #FFAB00
7 | #212121
8 | #757575
9 | #FFFFFF
10 | #BDBDBD
11 |
12 |
--------------------------------------------------------------------------------
/Trips/CW/StaticFragment/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #009688
4 | #00796B
5 | #B2DFDB
6 | #FFAB00
7 | #212121
8 | #757575
9 | #FFFFFF
10 | #BDBDBD
11 |
12 |
--------------------------------------------------------------------------------
/Trips/CW/StaticList/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #009688
4 | #00796B
5 | #B2DFDB
6 | #FFAB00
7 | #212121
8 | #757575
9 | #FFFFFF
10 | #BDBDBD
11 |
12 |
--------------------------------------------------------------------------------
/Trips/CW/StaticOkPin/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #009688
4 | #00796B
5 | #B2DFDB
6 | #FFAB00
7 | #212121
8 | #757575
9 | #FFFFFF
10 | #BDBDBD
11 |
12 |
--------------------------------------------------------------------------------
/Trips/CW/StaticSecure/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #009688
4 | #00796B
5 | #B2DFDB
6 | #FFAB00
7 | #212121
8 | #757575
9 | #FFFFFF
10 | #BDBDBD
11 |
12 |
--------------------------------------------------------------------------------
/Trips/CW/StaticTest/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #009688
4 | #00796B
5 | #B2DFDB
6 | #FFAB00
7 | #212121
8 | #757575
9 | #FFFFFF
10 | #BDBDBD
11 |
12 |
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsStatic/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #009688
4 | #00796B
5 | #B2DFDB
6 | #FFAB00
7 | #212121
8 | #757575
9 | #FFFFFF
10 | #BDBDBD
11 |
12 |
--------------------------------------------------------------------------------
/Trips/CW/StaticInlineFrag/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #009688
4 | #00796B
5 | #B2DFDB
6 | #FFAB00
7 | #212121
8 | #757575
9 | #FFFFFF
10 | #BDBDBD
11 |
12 |
--------------------------------------------------------------------------------
/Trips/CW/DynamicOk/app/src/main/res/layout/main.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
13 |
--------------------------------------------------------------------------------
/Trips/Local/CRUD/app/src/main/graphql/com/commonsware/graphql/trips/api/TripServer.graphql:
--------------------------------------------------------------------------------
1 | query getAllTrips {
2 | allTrips {
3 | ...tripFields
4 | }
5 | }
6 |
7 | query findTrips($search: String!) {
8 | findTrips(searchFor: $search) {
9 | ...tripFields
10 | }
11 | }
12 |
13 | fragment tripFields on Trip {
14 | id
15 | title
16 | startTime
17 | priority
18 | duration
19 | creationTime
20 | }
21 |
22 | mutation createTrip($trip: TripInput!) {
23 | createTrip(trip: $trip) {
24 | id
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Trips/Local/CRUD/app/src/main/res/drawable/ic_event_white_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/Trips/CW/DynamicOk/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:2.3.3'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | maven { url 'https://maven.google.com' }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/Trips/CW/SearchArgs/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:2.3.3'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | maven { url 'https://maven.google.com' }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/Trips/CW/DynamicList/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:2.3.3'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | maven { url 'https://maven.google.com' }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsDyn/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:2.3.3'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | maven { url 'https://maven.google.com' }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/Trips/Local/CRUD/app/src/main/res/drawable/ic_search_white_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/Trips/CW/SearchArgs/app/src/main/res/drawable/ic_search_white_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsDyn/app/src/main/res/drawable/ic_search_white_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/Trips/CW/StaticAlias/app/src/main/res/drawable/ic_search_white_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsStatic/app/src/main/res/drawable/ic_search_white_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/Trips/CW/StaticInlineFrag/app/src/main/res/drawable/ic_search_white_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/Trips/Local/CRUD/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | CRUD Demo
4 | Done!
5 | Search
6 | "Search results for: "
7 | Add
8 | Title
9 | Priority:
10 | Pick Trip Date Range
11 | Save
12 | Cancel
13 | Created!
14 |
--------------------------------------------------------------------------------
/Trips/CW/DynamicOk/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 |
3 | dependencies {
4 | compile 'com.squareup.okhttp3:okhttp:3.5.0'
5 | compile 'com.google.code.gson:gson:2.4'
6 | compile 'io.reactivex.rxjava2:rxjava:2.0.2'
7 | compile 'io.reactivex.rxjava2:rxandroid:2.0.0'
8 | }
9 |
10 | android {
11 | compileSdkVersion 26
12 | buildToolsVersion "26.0.1"
13 |
14 | defaultConfig {
15 | minSdkVersion 15
16 | targetSdkVersion 26
17 | applicationId "com.commonsware.graphql.trips.simple.dynok"
18 |
19 | jackOptions {
20 | enabled true
21 | }
22 | }
23 |
24 | compileOptions {
25 | sourceCompatibility JavaVersion.VERSION_1_8
26 | targetCompatibility JavaVersion.VERSION_1_8
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/Trips/CW/DynamicList/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 |
3 | dependencies {
4 | compile 'com.squareup.okhttp3:okhttp:3.5.0'
5 | compile 'com.google.code.gson:gson:2.7'
6 | compile 'io.reactivex.rxjava2:rxjava:2.0.2'
7 | compile 'io.reactivex.rxjava2:rxandroid:2.0.0'
8 | compile 'com.android.support:recyclerview-v7:26.0.1'
9 | }
10 |
11 | android {
12 | compileSdkVersion 26
13 | buildToolsVersion "26.0.1"
14 |
15 | defaultConfig {
16 | minSdkVersion 15
17 | targetSdkVersion 26
18 | applicationId "com.commonsware.graphql.trips.simple.dynlist"
19 |
20 | jackOptions {
21 | enabled true
22 | }
23 | }
24 |
25 | compileOptions {
26 | sourceCompatibility JavaVersion.VERSION_1_8
27 | targetCompatibility JavaVersion.VERSION_1_8
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/Trips/CW/SearchArgs/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 |
3 | dependencies {
4 | compile 'com.squareup.okhttp3:okhttp:3.5.0'
5 | compile 'com.google.code.gson:gson:2.7'
6 | compile 'io.reactivex.rxjava2:rxjava:2.0.2'
7 | compile 'io.reactivex.rxjava2:rxandroid:2.0.0'
8 | compile 'com.android.support:recyclerview-v7:26.0.1'
9 | }
10 |
11 | android {
12 | compileSdkVersion 26
13 | buildToolsVersion "26.0.1"
14 |
15 | defaultConfig {
16 | minSdkVersion 15
17 | targetSdkVersion 26
18 | applicationId "com.commonsware.graphql.trips.simple.searchargs"
19 |
20 | jackOptions {
21 | enabled true
22 | }
23 | }
24 |
25 | compileOptions {
26 | sourceCompatibility JavaVersion.VERSION_1_8
27 | targetCompatibility JavaVersion.VERSION_1_8
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsDyn/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 |
3 | dependencies {
4 | compile 'com.squareup.okhttp3:okhttp:3.5.0'
5 | compile 'com.google.code.gson:gson:2.7'
6 | compile 'io.reactivex.rxjava2:rxjava:2.0.2'
7 | compile 'io.reactivex.rxjava2:rxandroid:2.0.0'
8 | compile 'com.android.support:recyclerview-v7:26.0.1'
9 | }
10 |
11 | android {
12 | compileSdkVersion 26
13 | buildToolsVersion "26.0.1"
14 |
15 | defaultConfig {
16 | minSdkVersion 15
17 | targetSdkVersion 26
18 | applicationId "com.commonsware.graphql.trips.simple.searchvars.dyn"
19 |
20 | jackOptions {
21 | enabled true
22 | }
23 | }
24 |
25 | compileOptions {
26 | sourceCompatibility JavaVersion.VERSION_1_8
27 | targetCompatibility JavaVersion.VERSION_1_8
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/Trips/CW/StaticInlineFrag/app/src/main/graphql/com/commonsware/graphql/trips/api/TripServer.graphql:
--------------------------------------------------------------------------------
1 | query getAllTrips {
2 | allTrips {
3 | ...tripFields
4 | }
5 | }
6 |
7 | query findTrips($search: String!) {
8 | findTrips(searchFor: $search) {
9 | ...tripFields
10 | }
11 | }
12 |
13 | fragment planFields on Plan {
14 | id
15 | title
16 | startTime
17 | priority
18 | duration
19 | creationTime
20 | }
21 |
22 | fragment tripFields on Trip {
23 | ...planFields
24 | plans {
25 | ...planFields
26 | ... on Flight {
27 | airlineCode
28 | flightNumber
29 | departingAirport
30 | arrivingAirport
31 | }
32 | ... on Lodging {
33 | address
34 | }
35 | }
36 | notes {
37 | ... on Comment {
38 | text
39 | }
40 | ... on Link {
41 | url
42 | title
43 | }
44 | }
45 | }
--------------------------------------------------------------------------------
/Trips/CW/StaticList/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 | apply plugin: 'com.apollographql.android'
3 |
4 | dependencies {
5 | compile 'io.reactivex.rxjava2:rxjava:2.0.2'
6 | compile 'io.reactivex.rxjava2:rxandroid:2.0.0'
7 | compile 'com.android.support:recyclerview-v7:26.0.1'
8 | compile 'com.apollographql.apollo:apollo-rx2-support:0.4.0'
9 | }
10 |
11 | android {
12 | compileSdkVersion 26
13 | buildToolsVersion "26.0.1"
14 |
15 | defaultConfig {
16 | minSdkVersion 15
17 | targetSdkVersion 26
18 | applicationId "com.commonsware.graphql.trips.simple.staticlist"
19 |
20 | jackOptions {
21 | enabled true
22 | }
23 | }
24 |
25 | compileOptions {
26 | sourceCompatibility JavaVersion.VERSION_1_8
27 | targetCompatibility JavaVersion.VERSION_1_8
28 | }
29 | }
30 |
31 | apollo {
32 | useSemanticNaming = false
33 | }
--------------------------------------------------------------------------------
/Trips/CW/StaticAlias/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 | apply plugin: 'com.apollographql.android'
3 |
4 | dependencies {
5 | compile 'io.reactivex.rxjava2:rxjava:2.0.2'
6 | compile 'io.reactivex.rxjava2:rxandroid:2.0.0'
7 | compile 'com.android.support:recyclerview-v7:26.0.1'
8 | compile 'com.apollographql.apollo:apollo-rx2-support:0.4.0'
9 | }
10 |
11 | android {
12 | compileSdkVersion 26
13 | buildToolsVersion "26.0.1"
14 |
15 | defaultConfig {
16 | minSdkVersion 15
17 | targetSdkVersion 26
18 | applicationId "com.commonsware.graphql.trips.simple.alias"
19 |
20 | jackOptions {
21 | enabled true
22 | }
23 | }
24 |
25 | compileOptions {
26 | sourceCompatibility JavaVersion.VERSION_1_8
27 | targetCompatibility JavaVersion.VERSION_1_8
28 | }
29 | }
30 |
31 | apollo {
32 | useSemanticNaming = false
33 | }
34 |
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsStatic/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 | apply plugin: 'com.apollographql.android'
3 |
4 | dependencies {
5 | compile 'io.reactivex.rxjava2:rxjava:2.0.2'
6 | compile 'io.reactivex.rxjava2:rxandroid:2.0.0'
7 | compile 'com.android.support:recyclerview-v7:26.0.1'
8 | compile 'com.apollographql.apollo:apollo-rx2-support:0.4.0'
9 | }
10 |
11 | android {
12 | compileSdkVersion 26
13 | buildToolsVersion "26.0.1"
14 |
15 | defaultConfig {
16 | minSdkVersion 15
17 | targetSdkVersion 26
18 | applicationId "com.commonsware.graphql.trips.simple.searchvars.stat"
19 |
20 | jackOptions {
21 | enabled true
22 | }
23 | }
24 |
25 | compileOptions {
26 | sourceCompatibility JavaVersion.VERSION_1_8
27 | targetCompatibility JavaVersion.VERSION_1_8
28 | }
29 | }
30 |
31 | apollo {
32 | useSemanticNaming = false
33 | }
--------------------------------------------------------------------------------
/Trips/CW/StaticFragment/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 | apply plugin: 'com.apollographql.android'
3 |
4 | dependencies {
5 | compile 'io.reactivex.rxjava2:rxjava:2.0.2'
6 | compile 'io.reactivex.rxjava2:rxandroid:2.0.0'
7 | compile 'com.android.support:recyclerview-v7:26.0.1'
8 | compile 'com.apollographql.apollo:apollo-rx2-support:0.4.0'
9 | }
10 |
11 | android {
12 | compileSdkVersion 26
13 | buildToolsVersion "26.0.1"
14 |
15 | defaultConfig {
16 | minSdkVersion 15
17 | targetSdkVersion 26
18 | applicationId "com.commonsware.graphql.trips.simple.staticfrag"
19 |
20 | jackOptions {
21 | enabled true
22 | }
23 | }
24 |
25 | compileOptions {
26 | sourceCompatibility JavaVersion.VERSION_1_8
27 | targetCompatibility JavaVersion.VERSION_1_8
28 | }
29 | }
30 |
31 | apollo {
32 | useSemanticNaming = false
33 | }
34 |
--------------------------------------------------------------------------------
/Trips/CW/StaticInlineFrag/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 | apply plugin: 'com.apollographql.android'
3 |
4 | dependencies {
5 | compile 'io.reactivex.rxjava2:rxjava:2.0.2'
6 | compile 'io.reactivex.rxjava2:rxandroid:2.0.0'
7 | compile 'com.android.support:recyclerview-v7:26.0.1'
8 | compile 'com.apollographql.apollo:apollo-rx2-support:0.4.0'
9 | }
10 |
11 | android {
12 | compileSdkVersion 26
13 | buildToolsVersion "26.0.1"
14 |
15 | defaultConfig {
16 | minSdkVersion 15
17 | targetSdkVersion 26
18 | applicationId "com.commonsware.graphql.trips.simple.searchvars.stat"
19 |
20 | jackOptions {
21 | enabled true
22 | }
23 | }
24 |
25 | compileOptions {
26 | sourceCompatibility JavaVersion.VERSION_1_8
27 | targetCompatibility JavaVersion.VERSION_1_8
28 | }
29 | }
30 |
31 | apollo {
32 | useSemanticNaming = false
33 | }
--------------------------------------------------------------------------------
/Trips/CW/StaticOkPin/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 | apply plugin: 'com.apollographql.android'
3 |
4 | dependencies {
5 | compile 'io.reactivex.rxjava2:rxjava:2.0.2'
6 | compile 'io.reactivex.rxjava2:rxandroid:2.0.0'
7 | compile 'com.android.support:recyclerview-v7:26.0.1'
8 | compile 'com.apollographql.apollo:apollo-rx2-support:0.4.0'
9 | compile 'com.squareup.okhttp3:okhttp:3.8.1'
10 | }
11 |
12 | android {
13 | compileSdkVersion 26
14 | buildToolsVersion "26.0.1"
15 |
16 | defaultConfig {
17 | minSdkVersion 15
18 | targetSdkVersion 26
19 | applicationId "com.commonsware.graphql.trips.simple.staticokpin"
20 |
21 | jackOptions {
22 | enabled true
23 | }
24 | }
25 |
26 | compileOptions {
27 | sourceCompatibility JavaVersion.VERSION_1_8
28 | targetCompatibility JavaVersion.VERSION_1_8
29 | }
30 | }
31 |
32 | apollo {
33 | useSemanticNaming = false
34 | }
--------------------------------------------------------------------------------
/GitHub/Auth/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 | apply plugin: 'com.apollographql.android'
3 |
4 | dependencies {
5 | compile 'io.reactivex.rxjava2:rxjava:2.0.2'
6 | compile 'io.reactivex.rxjava2:rxandroid:2.0.0'
7 | compile 'com.android.support:recyclerview-v7:26.0.1'
8 | compile 'com.apollographql.apollo:apollo-rx2-support:0.4.0'
9 | }
10 |
11 | android {
12 | compileSdkVersion 26
13 | buildToolsVersion "26.0.1"
14 |
15 | defaultConfig {
16 | minSdkVersion 15
17 | targetSdkVersion 26
18 | applicationId "com.commonsware.graphql.github.auth"
19 | buildConfigField "String", "GITHUB_TOKEN", '"'+GITHUB_TOKEN+'"'
20 |
21 | jackOptions {
22 | enabled true
23 | }
24 | }
25 |
26 | compileOptions {
27 | sourceCompatibility JavaVersion.VERSION_1_8
28 | targetCompatibility JavaVersion.VERSION_1_8
29 | }
30 | }
31 |
32 | apollo {
33 | useSemanticNaming = false
34 | }
35 |
--------------------------------------------------------------------------------
/GitHub/Starred/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 | apply plugin: 'com.apollographql.android'
3 |
4 | dependencies {
5 | compile 'io.reactivex.rxjava2:rxjava:2.0.2'
6 | compile 'io.reactivex.rxjava2:rxandroid:2.0.0'
7 | compile 'com.android.support:recyclerview-v7:26.0.1'
8 | compile 'com.apollographql.apollo:apollo-rx2-support:0.4.0'
9 | }
10 |
11 | android {
12 | compileSdkVersion 26
13 | buildToolsVersion "26.0.1"
14 |
15 | defaultConfig {
16 | minSdkVersion 15
17 | targetSdkVersion 26
18 | applicationId "com.commonsware.graphql.github.starred"
19 | buildConfigField "String", "GITHUB_TOKEN", '"'+GITHUB_TOKEN+'"'
20 |
21 | jackOptions {
22 | enabled true
23 | }
24 | }
25 |
26 | compileOptions {
27 | sourceCompatibility JavaVersion.VERSION_1_8
28 | targetCompatibility JavaVersion.VERSION_1_8
29 | }
30 | }
31 |
32 | apollo {
33 | useSemanticNaming = false
34 | }
35 |
--------------------------------------------------------------------------------
/Trips/CW/StaticSecure/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 | apply plugin: 'com.apollographql.android'
3 |
4 | dependencies {
5 | compile 'io.reactivex.rxjava2:rxjava:2.0.2'
6 | compile 'io.reactivex.rxjava2:rxandroid:2.0.0'
7 | compile 'com.android.support:recyclerview-v7:26.0.1'
8 | compile 'com.apollographql.apollo:apollo-rx2-support:0.4.0'
9 | compile 'com.squareup.okhttp3:okhttp:3.8.1'
10 | compile 'com.commonsware.cwac:netsecurity:0.4.4'
11 | }
12 |
13 | android {
14 | compileSdkVersion 26
15 | buildToolsVersion "26.0.1"
16 |
17 | defaultConfig {
18 | minSdkVersion 17
19 | targetSdkVersion 26
20 | applicationId "com.commonsware.graphql.trips.simple.staticsecure"
21 |
22 | jackOptions {
23 | enabled true
24 | }
25 | }
26 |
27 | compileOptions {
28 | sourceCompatibility JavaVersion.VERSION_1_8
29 | targetCompatibility JavaVersion.VERSION_1_8
30 | }
31 | }
32 |
33 | apollo {
34 | useSemanticNaming = false
35 | }
--------------------------------------------------------------------------------
/GitHub/Auth/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
14 |
15 |
19 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/GitHub/DateTime/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 | apply plugin: 'com.apollographql.android'
3 |
4 | dependencies {
5 | compile 'io.reactivex.rxjava2:rxjava:2.0.2'
6 | compile 'io.reactivex.rxjava2:rxandroid:2.0.0'
7 | compile 'com.android.support:recyclerview-v7:26.0.1'
8 | compile 'com.apollographql.apollo:apollo-rx2-support:0.4.0'
9 | }
10 |
11 | android {
12 | compileSdkVersion 26
13 | buildToolsVersion "26.0.1"
14 |
15 | defaultConfig {
16 | minSdkVersion 15
17 | targetSdkVersion 26
18 | applicationId "com.commonsware.graphql.github.datetime"
19 | buildConfigField "String", "GITHUB_TOKEN", '"'+GITHUB_TOKEN+'"'
20 |
21 | jackOptions {
22 | enabled true
23 | }
24 | }
25 |
26 | compileOptions {
27 | sourceCompatibility JavaVersion.VERSION_1_8
28 | targetCompatibility JavaVersion.VERSION_1_8
29 | }
30 | }
31 |
32 | apollo {
33 | customTypeMapping['DateTime']="java.util.Date"
34 | useSemanticNaming = false
35 | }
36 |
--------------------------------------------------------------------------------
/GitHub/DateTime/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
14 |
15 |
19 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/GitHub/Starred/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
14 |
15 |
19 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/Trips/Local/CRUD/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
14 |
15 |
19 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/Trips/CW/DynamicOk/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
14 |
15 |
19 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/Trips/CW/StaticAlias/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
14 |
15 |
19 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/Trips/CW/StaticList/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
14 |
15 |
19 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/Trips/CW/StaticOkPin/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
14 |
15 |
19 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/Trips/CW/StaticTest/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
14 |
15 |
19 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsStatic/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
14 |
15 |
19 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/Trips/CW/StaticFragment/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
14 |
15 |
19 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/Trips/CW/StaticInlineFrag/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
14 |
15 |
19 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/Trips/CW/DynamicList/app/src/main/java/com/commonsware/graphql/trips/simple/GraphQLResponse.java:
--------------------------------------------------------------------------------
1 | /***
2 | Copyright (c) 2012-17 CommonsWare, LLC
3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 | use this file except in compliance with the License. You may obtain a copy
5 | of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required
6 | by applicable law or agreed to in writing, software distributed under the
7 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
8 | OF ANY KIND, either express or implied. See the License for the specific
9 | language governing permissions and limitations under the License.
10 |
11 | From _GraphQL and Android_
12 | https://commonsware.com/GraphQL
13 | */
14 |
15 | package com.commonsware.graphql.trips.simple;
16 |
17 | import java.util.ArrayList;
18 | import java.util.HashMap;
19 | import java.util.List;
20 | import java.util.Map;
21 |
22 | class GraphQLResponse {
23 | final Map data=new HashMap<>();
24 | final List errors=new ArrayList<>();
25 | }
26 |
--------------------------------------------------------------------------------
/Trips/CW/SearchArgs/app/src/main/java/com/commonsware/graphql/trips/simple/GraphQLResponse.java:
--------------------------------------------------------------------------------
1 | /***
2 | Copyright (c) 2012-17 CommonsWare, LLC
3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 | use this file except in compliance with the License. You may obtain a copy
5 | of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required
6 | by applicable law or agreed to in writing, software distributed under the
7 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
8 | OF ANY KIND, either express or implied. See the License for the specific
9 | language governing permissions and limitations under the License.
10 |
11 | From _GraphQL and Android_
12 | https://commonsware.com/GraphQL
13 | */
14 |
15 | package com.commonsware.graphql.trips.simple;
16 |
17 | import java.util.ArrayList;
18 | import java.util.HashMap;
19 | import java.util.List;
20 | import java.util.Map;
21 |
22 | class GraphQLResponse {
23 | final Map data=new HashMap<>();
24 | final List errors=new ArrayList<>();
25 | }
26 |
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsDyn/app/src/main/java/com/commonsware/graphql/trips/simple/GraphQLResponse.java:
--------------------------------------------------------------------------------
1 | /***
2 | Copyright (c) 2012-17 CommonsWare, LLC
3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 | use this file except in compliance with the License. You may obtain a copy
5 | of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required
6 | by applicable law or agreed to in writing, software distributed under the
7 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
8 | OF ANY KIND, either express or implied. See the License for the specific
9 | language governing permissions and limitations under the License.
10 |
11 | From _GraphQL and Android_
12 | https://commonsware.com/GraphQL
13 | */
14 |
15 | package com.commonsware.graphql.trips.simple;
16 |
17 | import java.util.ArrayList;
18 | import java.util.HashMap;
19 | import java.util.List;
20 | import java.util.Map;
21 |
22 | class GraphQLResponse {
23 | final Map data=new HashMap<>();
24 | final List errors=new ArrayList<>();
25 | }
26 |
--------------------------------------------------------------------------------
/Trips/CW/DynamicList/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
15 |
16 |
21 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/Trips/CW/SearchArgs/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
15 |
16 |
21 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsDyn/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
15 |
16 |
21 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/Trips/Local/CRUD/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 | apply plugin: 'com.apollographql.android'
3 |
4 | dependencies {
5 | compile 'io.reactivex.rxjava2:rxjava:2.0.2'
6 | compile 'io.reactivex.rxjava2:rxandroid:2.0.0'
7 | compile 'com.android.support:recyclerview-v7:26.0.1'
8 | compile 'com.apollographql.apollo:apollo-rx2-support:0.4.0'
9 | compile 'org.greenrobot:eventbus:3.0.0'
10 | compile 'com.android.support:recyclerview-v7:26.0.1'
11 | compile('com.borax12.materialdaterangepicker:library:1.9') {
12 | transitive = false
13 | }
14 | }
15 |
16 | android {
17 | compileSdkVersion 26
18 | buildToolsVersion "26.0.1"
19 |
20 | defaultConfig {
21 | minSdkVersion 15
22 | targetSdkVersion 26
23 | applicationId "com.commonsware.graphql.trips.crud"
24 | buildConfigField "String", "LOCAL_SERVER_URL", '"'+LOCAL_SERVER_URL+'"'
25 |
26 | jackOptions {
27 | enabled true
28 | }
29 | }
30 |
31 | compileOptions {
32 | sourceCompatibility JavaVersion.VERSION_1_8
33 | targetCompatibility JavaVersion.VERSION_1_8
34 | }
35 | }
36 |
37 | apollo {
38 | useSemanticNaming = false
39 | }
--------------------------------------------------------------------------------
/Trips/CW/DynamicList/app/src/main/java/com/commonsware/graphql/trips/simple/ResponseError.java:
--------------------------------------------------------------------------------
1 | /***
2 | Copyright (c) 2016 CommonsWare, LLC
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | not use this file except in compliance with the License. You may obtain
6 | a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
7 |
8 | Unless required by applicable law or agreed to in writing, software
9 | distributed under the License is distributed on an "AS IS" BASIS,
10 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 | See the License for the specific language governing permissions and
12 | limitations under the License.
13 | */
14 |
15 | package com.commonsware.graphql.trips.simple;
16 |
17 | import java.util.ArrayList;
18 | import java.util.List;
19 |
20 | class ResponseError {
21 | final String message=null;
22 | final List locations=new ArrayList<>();
23 |
24 | @Override
25 | public String toString() {
26 | return(message);
27 | }
28 |
29 | static class Location {
30 | final int line;
31 | final int column;
32 |
33 | Location() {
34 | line=-1;
35 | column=-1;
36 | }
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/Trips/CW/SearchArgs/app/src/main/java/com/commonsware/graphql/trips/simple/ResponseError.java:
--------------------------------------------------------------------------------
1 | /***
2 | Copyright (c) 2016 CommonsWare, LLC
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | not use this file except in compliance with the License. You may obtain
6 | a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
7 |
8 | Unless required by applicable law or agreed to in writing, software
9 | distributed under the License is distributed on an "AS IS" BASIS,
10 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 | See the License for the specific language governing permissions and
12 | limitations under the License.
13 | */
14 |
15 | package com.commonsware.graphql.trips.simple;
16 |
17 | import java.util.ArrayList;
18 | import java.util.List;
19 |
20 | class ResponseError {
21 | final String message=null;
22 | final List locations=new ArrayList<>();
23 |
24 | @Override
25 | public String toString() {
26 | return(message);
27 | }
28 |
29 | static class Location {
30 | final int line;
31 | final int column;
32 |
33 | Location() {
34 | line=-1;
35 | column=-1;
36 | }
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsDyn/app/src/main/java/com/commonsware/graphql/trips/simple/ResponseError.java:
--------------------------------------------------------------------------------
1 | /***
2 | Copyright (c) 2016 CommonsWare, LLC
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License"); you may
5 | not use this file except in compliance with the License. You may obtain
6 | a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
7 |
8 | Unless required by applicable law or agreed to in writing, software
9 | distributed under the License is distributed on an "AS IS" BASIS,
10 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 | See the License for the specific language governing permissions and
12 | limitations under the License.
13 | */
14 |
15 | package com.commonsware.graphql.trips.simple;
16 |
17 | import java.util.ArrayList;
18 | import java.util.List;
19 |
20 | class ResponseError {
21 | final String message=null;
22 | final List locations=new ArrayList<>();
23 |
24 | @Override
25 | public String toString() {
26 | return(message);
27 | }
28 |
29 | static class Location {
30 | final int line;
31 | final int column;
32 |
33 | Location() {
34 | line=-1;
35 | column=-1;
36 | }
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/Trips/CW/StaticSecure/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
14 |
15 |
20 |
23 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/Trips/Local/CRUD/app/src/main/java/com/commonsware/graphql/trips/crud/TripCreatedEvent.java:
--------------------------------------------------------------------------------
1 | /***
2 | Copyright (c) 17 CommonsWare, LLC
3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 | use this file except in compliance with the License. You may obtain a copy
5 | of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required
6 | by applicable law or agreed to in writing, software distributed under the
7 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
8 | OF ANY KIND, either express or implied. See the License for the specific
9 | language governing permissions and limitations under the License.
10 |
11 | From _GraphQL and Android_
12 | https://commonsware.com/GraphQL
13 | */
14 |
15 | package com.commonsware.graphql.trips.crud;
16 |
17 | import com.apollographql.apollo.api.Response;
18 | import com.commonsware.graphql.trips.api.CreateTrip;
19 |
20 | class TripCreatedEvent {
21 | final Response response;
22 | final Exception exception;
23 |
24 | TripCreatedEvent(Response response) {
25 | this.response=response;
26 | this.exception=null;
27 | }
28 |
29 | TripCreatedEvent(Exception e) {
30 | this.exception=e;
31 | this.response=null;
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/Trips/CW/DynamicList/app/src/main/java/com/commonsware/graphql/trips/simple/MainActivity.java:
--------------------------------------------------------------------------------
1 | /***
2 | Copyright (c) 2012-17 CommonsWare, LLC
3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 | use this file except in compliance with the License. You may obtain a copy
5 | of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required
6 | by applicable law or agreed to in writing, software distributed under the
7 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
8 | OF ANY KIND, either express or implied. See the License for the specific
9 | language governing permissions and limitations under the License.
10 |
11 | From _GraphQL and Android_
12 | https://commonsware.com/GraphQL
13 | */
14 |
15 | package com.commonsware.graphql.trips.simple;
16 |
17 | import android.app.Activity;
18 | import android.os.Bundle;
19 |
20 | public class MainActivity extends Activity {
21 | @Override
22 | public void onCreate(Bundle savedInstanceState) {
23 | super.onCreate(savedInstanceState);
24 |
25 | if (getFragmentManager().findFragmentById(android.R.id.content) == null) {
26 | getFragmentManager().beginTransaction()
27 | .add(android.R.id.content,
28 | new SimpleTripsFragment()).commit();
29 | }
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/Trips/CW/DynamicOk/app/src/main/java/com/commonsware/graphql/trips/simple/MainActivity.java:
--------------------------------------------------------------------------------
1 | /***
2 | Copyright (c) 2012-17 CommonsWare, LLC
3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 | use this file except in compliance with the License. You may obtain a copy
5 | of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required
6 | by applicable law or agreed to in writing, software distributed under the
7 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
8 | OF ANY KIND, either express or implied. See the License for the specific
9 | language governing permissions and limitations under the License.
10 |
11 | From _GraphQL and Android_
12 | https://commonsware.com/GraphQL
13 | */
14 |
15 | package com.commonsware.graphql.trips.simple;
16 |
17 | import android.app.Activity;
18 | import android.os.Bundle;
19 |
20 | public class MainActivity extends Activity {
21 | @Override
22 | public void onCreate(Bundle savedInstanceState) {
23 | super.onCreate(savedInstanceState);
24 |
25 | if (getFragmentManager().findFragmentById(android.R.id.content) == null) {
26 | getFragmentManager().beginTransaction()
27 | .add(android.R.id.content,
28 | new SimpleTripsFragment()).commit();
29 | }
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/Trips/CW/StaticList/app/src/main/java/com/commonsware/graphql/trips/simple/MainActivity.java:
--------------------------------------------------------------------------------
1 | /***
2 | Copyright (c) 2012-17 CommonsWare, LLC
3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 | use this file except in compliance with the License. You may obtain a copy
5 | of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required
6 | by applicable law or agreed to in writing, software distributed under the
7 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
8 | OF ANY KIND, either express or implied. See the License for the specific
9 | language governing permissions and limitations under the License.
10 |
11 | From _GraphQL and Android_
12 | https://commonsware.com/GraphQL
13 | */
14 |
15 | package com.commonsware.graphql.trips.simple;
16 |
17 | import android.app.Activity;
18 | import android.os.Bundle;
19 |
20 | public class MainActivity extends Activity {
21 | @Override
22 | public void onCreate(Bundle savedInstanceState) {
23 | super.onCreate(savedInstanceState);
24 |
25 | if (getFragmentManager().findFragmentById(android.R.id.content) == null) {
26 | getFragmentManager().beginTransaction()
27 | .add(android.R.id.content,
28 | new SimpleTripsFragment()).commit();
29 | }
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/Trips/CW/StaticOkPin/app/src/main/java/com/commonsware/graphql/trips/simple/MainActivity.java:
--------------------------------------------------------------------------------
1 | /***
2 | Copyright (c) 2012-17 CommonsWare, LLC
3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 | use this file except in compliance with the License. You may obtain a copy
5 | of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required
6 | by applicable law or agreed to in writing, software distributed under the
7 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
8 | OF ANY KIND, either express or implied. See the License for the specific
9 | language governing permissions and limitations under the License.
10 |
11 | From _GraphQL and Android_
12 | https://commonsware.com/GraphQL
13 | */
14 |
15 | package com.commonsware.graphql.trips.simple;
16 |
17 | import android.app.Activity;
18 | import android.os.Bundle;
19 |
20 | public class MainActivity extends Activity {
21 | @Override
22 | public void onCreate(Bundle savedInstanceState) {
23 | super.onCreate(savedInstanceState);
24 |
25 | if (getFragmentManager().findFragmentById(android.R.id.content) == null) {
26 | getFragmentManager().beginTransaction()
27 | .add(android.R.id.content,
28 | new SimpleTripsFragment()).commit();
29 | }
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/Trips/CW/StaticSecure/app/src/main/java/com/commonsware/graphql/trips/simple/MainActivity.java:
--------------------------------------------------------------------------------
1 | /***
2 | Copyright (c) 2012-17 CommonsWare, LLC
3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 | use this file except in compliance with the License. You may obtain a copy
5 | of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required
6 | by applicable law or agreed to in writing, software distributed under the
7 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
8 | OF ANY KIND, either express or implied. See the License for the specific
9 | language governing permissions and limitations under the License.
10 |
11 | From _GraphQL and Android_
12 | https://commonsware.com/GraphQL
13 | */
14 |
15 | package com.commonsware.graphql.trips.simple;
16 |
17 | import android.app.Activity;
18 | import android.os.Bundle;
19 |
20 | public class MainActivity extends Activity {
21 | @Override
22 | public void onCreate(Bundle savedInstanceState) {
23 | super.onCreate(savedInstanceState);
24 |
25 | if (getFragmentManager().findFragmentById(android.R.id.content) == null) {
26 | getFragmentManager().beginTransaction()
27 | .add(android.R.id.content,
28 | new SimpleTripsFragment()).commit();
29 | }
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/Trips/CW/StaticTest/app/src/main/java/com/commonsware/graphql/trips/simple/MainActivity.java:
--------------------------------------------------------------------------------
1 | /***
2 | Copyright (c) 2012-17 CommonsWare, LLC
3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 | use this file except in compliance with the License. You may obtain a copy
5 | of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required
6 | by applicable law or agreed to in writing, software distributed under the
7 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
8 | OF ANY KIND, either express or implied. See the License for the specific
9 | language governing permissions and limitations under the License.
10 |
11 | From _GraphQL and Android_
12 | https://commonsware.com/GraphQL
13 | */
14 |
15 | package com.commonsware.graphql.trips.simple;
16 |
17 | import android.app.Activity;
18 | import android.os.Bundle;
19 |
20 | public class MainActivity extends Activity {
21 | @Override
22 | public void onCreate(Bundle savedInstanceState) {
23 | super.onCreate(savedInstanceState);
24 |
25 | if (getFragmentManager().findFragmentById(android.R.id.content) == null) {
26 | getFragmentManager().beginTransaction()
27 | .add(android.R.id.content,
28 | new SimpleTripsFragment()).commit();
29 | }
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/Trips/CW/StaticFragment/app/src/main/java/com/commonsware/graphql/trips/simple/MainActivity.java:
--------------------------------------------------------------------------------
1 | /***
2 | Copyright (c) 2012-17 CommonsWare, LLC
3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 | use this file except in compliance with the License. You may obtain a copy
5 | of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required
6 | by applicable law or agreed to in writing, software distributed under the
7 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
8 | OF ANY KIND, either express or implied. See the License for the specific
9 | language governing permissions and limitations under the License.
10 |
11 | From _GraphQL and Android_
12 | https://commonsware.com/GraphQL
13 | */
14 |
15 | package com.commonsware.graphql.trips.simple;
16 |
17 | import android.app.Activity;
18 | import android.os.Bundle;
19 |
20 | public class MainActivity extends Activity {
21 | @Override
22 | public void onCreate(Bundle savedInstanceState) {
23 | super.onCreate(savedInstanceState);
24 |
25 | if (getFragmentManager().findFragmentById(android.R.id.content) == null) {
26 | getFragmentManager().beginTransaction()
27 | .add(android.R.id.content,
28 | new SimpleTripsFragment()).commit();
29 | }
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/GitHub/Auth/proguard.cfg:
--------------------------------------------------------------------------------
1 | -optimizationpasses 5
2 | -dontusemixedcaseclassnames
3 | -dontskipnonpubliclibraryclasses
4 | -dontpreverify
5 | -verbose
6 | -optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
7 |
8 | -keep public class * extends android.app.Activity
9 | -keep public class * extends android.app.Application
10 | -keep public class * extends android.app.Service
11 | -keep public class * extends android.content.BroadcastReceiver
12 | -keep public class * extends android.content.ContentProvider
13 | -keep public class * extends android.app.backup.BackupAgentHelper
14 | -keep public class * extends android.preference.Preference
15 | -keep public class com.android.vending.licensing.ILicensingService
16 |
17 | -keepclasseswithmembernames class * {
18 | native ;
19 | }
20 |
21 | -keepclasseswithmembers class * {
22 | public (android.content.Context, android.util.AttributeSet);
23 | }
24 |
25 | -keepclasseswithmembers class * {
26 | public (android.content.Context, android.util.AttributeSet, int);
27 | }
28 |
29 | -keepclassmembers class * extends android.app.Activity {
30 | public void *(android.view.View);
31 | }
32 |
33 | -keepclassmembers enum * {
34 | public static **[] values();
35 | public static ** valueOf(java.lang.String);
36 | }
37 |
38 | -keep class * implements android.os.Parcelable {
39 | public static final android.os.Parcelable$Creator *;
40 | }
41 |
--------------------------------------------------------------------------------
/GitHub/Auth/app/src/main/java/com/commonsware/graphql/github/MainActivity.java:
--------------------------------------------------------------------------------
1 | /***
2 | Copyright (c) 2012-17 CommonsWare, LLC
3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 | use this file except in compliance with the License. You may obtain a copy
5 | of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required
6 | by applicable law or agreed to in writing, software distributed under the
7 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
8 | OF ANY KIND, either express or implied. See the License for the specific
9 | language governing permissions and limitations under the License.
10 |
11 | From _GraphQL and Android_
12 | https://commonsware.com/GraphQL
13 | */
14 |
15 | package com.commonsware.graphql.github;
16 |
17 | import android.app.Activity;
18 | import android.os.Bundle;
19 |
20 | public class MainActivity extends Activity {
21 | @Override
22 | public void onCreate(Bundle savedInstanceState) {
23 | super.onCreate(savedInstanceState);
24 |
25 | if (getFragmentManager().findFragmentById(android.R.id.content) == null) {
26 | getFragmentManager().beginTransaction()
27 | .add(android.R.id.content,
28 | new ViewerFragment()).commit();
29 | }
30 | }
31 |
32 | void setLogin(String login) {
33 | setTitle("GitHub: "+login);
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/GitHub/DateTime/proguard.cfg:
--------------------------------------------------------------------------------
1 | -optimizationpasses 5
2 | -dontusemixedcaseclassnames
3 | -dontskipnonpubliclibraryclasses
4 | -dontpreverify
5 | -verbose
6 | -optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
7 |
8 | -keep public class * extends android.app.Activity
9 | -keep public class * extends android.app.Application
10 | -keep public class * extends android.app.Service
11 | -keep public class * extends android.content.BroadcastReceiver
12 | -keep public class * extends android.content.ContentProvider
13 | -keep public class * extends android.app.backup.BackupAgentHelper
14 | -keep public class * extends android.preference.Preference
15 | -keep public class com.android.vending.licensing.ILicensingService
16 |
17 | -keepclasseswithmembernames class * {
18 | native ;
19 | }
20 |
21 | -keepclasseswithmembers class * {
22 | public (android.content.Context, android.util.AttributeSet);
23 | }
24 |
25 | -keepclasseswithmembers class * {
26 | public (android.content.Context, android.util.AttributeSet, int);
27 | }
28 |
29 | -keepclassmembers class * extends android.app.Activity {
30 | public void *(android.view.View);
31 | }
32 |
33 | -keepclassmembers enum * {
34 | public static **[] values();
35 | public static ** valueOf(java.lang.String);
36 | }
37 |
38 | -keep class * implements android.os.Parcelable {
39 | public static final android.os.Parcelable$Creator *;
40 | }
41 |
--------------------------------------------------------------------------------
/GitHub/Starred/proguard.cfg:
--------------------------------------------------------------------------------
1 | -optimizationpasses 5
2 | -dontusemixedcaseclassnames
3 | -dontskipnonpubliclibraryclasses
4 | -dontpreverify
5 | -verbose
6 | -optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
7 |
8 | -keep public class * extends android.app.Activity
9 | -keep public class * extends android.app.Application
10 | -keep public class * extends android.app.Service
11 | -keep public class * extends android.content.BroadcastReceiver
12 | -keep public class * extends android.content.ContentProvider
13 | -keep public class * extends android.app.backup.BackupAgentHelper
14 | -keep public class * extends android.preference.Preference
15 | -keep public class com.android.vending.licensing.ILicensingService
16 |
17 | -keepclasseswithmembernames class * {
18 | native ;
19 | }
20 |
21 | -keepclasseswithmembers class * {
22 | public (android.content.Context, android.util.AttributeSet);
23 | }
24 |
25 | -keepclasseswithmembers class * {
26 | public (android.content.Context, android.util.AttributeSet, int);
27 | }
28 |
29 | -keepclassmembers class * extends android.app.Activity {
30 | public void *(android.view.View);
31 | }
32 |
33 | -keepclassmembers enum * {
34 | public static **[] values();
35 | public static ** valueOf(java.lang.String);
36 | }
37 |
38 | -keep class * implements android.os.Parcelable {
39 | public static final android.os.Parcelable$Creator *;
40 | }
41 |
--------------------------------------------------------------------------------
/Trips/Local/CRUD/proguard.cfg:
--------------------------------------------------------------------------------
1 | -optimizationpasses 5
2 | -dontusemixedcaseclassnames
3 | -dontskipnonpubliclibraryclasses
4 | -dontpreverify
5 | -verbose
6 | -optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
7 |
8 | -keep public class * extends android.app.Activity
9 | -keep public class * extends android.app.Application
10 | -keep public class * extends android.app.Service
11 | -keep public class * extends android.content.BroadcastReceiver
12 | -keep public class * extends android.content.ContentProvider
13 | -keep public class * extends android.app.backup.BackupAgentHelper
14 | -keep public class * extends android.preference.Preference
15 | -keep public class com.android.vending.licensing.ILicensingService
16 |
17 | -keepclasseswithmembernames class * {
18 | native ;
19 | }
20 |
21 | -keepclasseswithmembers class * {
22 | public (android.content.Context, android.util.AttributeSet);
23 | }
24 |
25 | -keepclasseswithmembers class * {
26 | public (android.content.Context, android.util.AttributeSet, int);
27 | }
28 |
29 | -keepclassmembers class * extends android.app.Activity {
30 | public void *(android.view.View);
31 | }
32 |
33 | -keepclassmembers enum * {
34 | public static **[] values();
35 | public static ** valueOf(java.lang.String);
36 | }
37 |
38 | -keep class * implements android.os.Parcelable {
39 | public static final android.os.Parcelable$Creator *;
40 | }
41 |
--------------------------------------------------------------------------------
/GitHub/Starred/app/src/main/java/com/commonsware/graphql/github/MainActivity.java:
--------------------------------------------------------------------------------
1 | /***
2 | Copyright (c) 2012-17 CommonsWare, LLC
3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 | use this file except in compliance with the License. You may obtain a copy
5 | of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required
6 | by applicable law or agreed to in writing, software distributed under the
7 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
8 | OF ANY KIND, either express or implied. See the License for the specific
9 | language governing permissions and limitations under the License.
10 |
11 | From _GraphQL and Android_
12 | https://commonsware.com/GraphQL
13 | */
14 |
15 | package com.commonsware.graphql.github;
16 |
17 | import android.app.Activity;
18 | import android.os.Bundle;
19 |
20 | public class MainActivity extends Activity {
21 | @Override
22 | public void onCreate(Bundle savedInstanceState) {
23 | super.onCreate(savedInstanceState);
24 |
25 | if (getFragmentManager().findFragmentById(android.R.id.content) == null) {
26 | getFragmentManager().beginTransaction()
27 | .add(android.R.id.content,
28 | new ViewerFragment()).commit();
29 | }
30 | }
31 |
32 | void setLogin(String login) {
33 | setTitle("Starred for: "+login);
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/Trips/CW/DynamicList/proguard.cfg:
--------------------------------------------------------------------------------
1 | -optimizationpasses 5
2 | -dontusemixedcaseclassnames
3 | -dontskipnonpubliclibraryclasses
4 | -dontpreverify
5 | -verbose
6 | -optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
7 |
8 | -keep public class * extends android.app.Activity
9 | -keep public class * extends android.app.Application
10 | -keep public class * extends android.app.Service
11 | -keep public class * extends android.content.BroadcastReceiver
12 | -keep public class * extends android.content.ContentProvider
13 | -keep public class * extends android.app.backup.BackupAgentHelper
14 | -keep public class * extends android.preference.Preference
15 | -keep public class com.android.vending.licensing.ILicensingService
16 |
17 | -keepclasseswithmembernames class * {
18 | native ;
19 | }
20 |
21 | -keepclasseswithmembers class * {
22 | public (android.content.Context, android.util.AttributeSet);
23 | }
24 |
25 | -keepclasseswithmembers class * {
26 | public (android.content.Context, android.util.AttributeSet, int);
27 | }
28 |
29 | -keepclassmembers class * extends android.app.Activity {
30 | public void *(android.view.View);
31 | }
32 |
33 | -keepclassmembers enum * {
34 | public static **[] values();
35 | public static ** valueOf(java.lang.String);
36 | }
37 |
38 | -keep class * implements android.os.Parcelable {
39 | public static final android.os.Parcelable$Creator *;
40 | }
41 |
--------------------------------------------------------------------------------
/Trips/CW/DynamicOk/proguard.cfg:
--------------------------------------------------------------------------------
1 | -optimizationpasses 5
2 | -dontusemixedcaseclassnames
3 | -dontskipnonpubliclibraryclasses
4 | -dontpreverify
5 | -verbose
6 | -optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
7 |
8 | -keep public class * extends android.app.Activity
9 | -keep public class * extends android.app.Application
10 | -keep public class * extends android.app.Service
11 | -keep public class * extends android.content.BroadcastReceiver
12 | -keep public class * extends android.content.ContentProvider
13 | -keep public class * extends android.app.backup.BackupAgentHelper
14 | -keep public class * extends android.preference.Preference
15 | -keep public class com.android.vending.licensing.ILicensingService
16 |
17 | -keepclasseswithmembernames class * {
18 | native ;
19 | }
20 |
21 | -keepclasseswithmembers class * {
22 | public (android.content.Context, android.util.AttributeSet);
23 | }
24 |
25 | -keepclasseswithmembers class * {
26 | public (android.content.Context, android.util.AttributeSet, int);
27 | }
28 |
29 | -keepclassmembers class * extends android.app.Activity {
30 | public void *(android.view.View);
31 | }
32 |
33 | -keepclassmembers enum * {
34 | public static **[] values();
35 | public static ** valueOf(java.lang.String);
36 | }
37 |
38 | -keep class * implements android.os.Parcelable {
39 | public static final android.os.Parcelable$Creator *;
40 | }
41 |
--------------------------------------------------------------------------------
/Trips/CW/SearchArgs/proguard.cfg:
--------------------------------------------------------------------------------
1 | -optimizationpasses 5
2 | -dontusemixedcaseclassnames
3 | -dontskipnonpubliclibraryclasses
4 | -dontpreverify
5 | -verbose
6 | -optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
7 |
8 | -keep public class * extends android.app.Activity
9 | -keep public class * extends android.app.Application
10 | -keep public class * extends android.app.Service
11 | -keep public class * extends android.content.BroadcastReceiver
12 | -keep public class * extends android.content.ContentProvider
13 | -keep public class * extends android.app.backup.BackupAgentHelper
14 | -keep public class * extends android.preference.Preference
15 | -keep public class com.android.vending.licensing.ILicensingService
16 |
17 | -keepclasseswithmembernames class * {
18 | native ;
19 | }
20 |
21 | -keepclasseswithmembers class * {
22 | public (android.content.Context, android.util.AttributeSet);
23 | }
24 |
25 | -keepclasseswithmembers class * {
26 | public (android.content.Context, android.util.AttributeSet, int);
27 | }
28 |
29 | -keepclassmembers class * extends android.app.Activity {
30 | public void *(android.view.View);
31 | }
32 |
33 | -keepclassmembers enum * {
34 | public static **[] values();
35 | public static ** valueOf(java.lang.String);
36 | }
37 |
38 | -keep class * implements android.os.Parcelable {
39 | public static final android.os.Parcelable$Creator *;
40 | }
41 |
--------------------------------------------------------------------------------
/Trips/CW/StaticAlias/proguard.cfg:
--------------------------------------------------------------------------------
1 | -optimizationpasses 5
2 | -dontusemixedcaseclassnames
3 | -dontskipnonpubliclibraryclasses
4 | -dontpreverify
5 | -verbose
6 | -optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
7 |
8 | -keep public class * extends android.app.Activity
9 | -keep public class * extends android.app.Application
10 | -keep public class * extends android.app.Service
11 | -keep public class * extends android.content.BroadcastReceiver
12 | -keep public class * extends android.content.ContentProvider
13 | -keep public class * extends android.app.backup.BackupAgentHelper
14 | -keep public class * extends android.preference.Preference
15 | -keep public class com.android.vending.licensing.ILicensingService
16 |
17 | -keepclasseswithmembernames class * {
18 | native ;
19 | }
20 |
21 | -keepclasseswithmembers class * {
22 | public (android.content.Context, android.util.AttributeSet);
23 | }
24 |
25 | -keepclasseswithmembers class * {
26 | public (android.content.Context, android.util.AttributeSet, int);
27 | }
28 |
29 | -keepclassmembers class * extends android.app.Activity {
30 | public void *(android.view.View);
31 | }
32 |
33 | -keepclassmembers enum * {
34 | public static **[] values();
35 | public static ** valueOf(java.lang.String);
36 | }
37 |
38 | -keep class * implements android.os.Parcelable {
39 | public static final android.os.Parcelable$Creator *;
40 | }
41 |
--------------------------------------------------------------------------------
/Trips/CW/StaticList/proguard.cfg:
--------------------------------------------------------------------------------
1 | -optimizationpasses 5
2 | -dontusemixedcaseclassnames
3 | -dontskipnonpubliclibraryclasses
4 | -dontpreverify
5 | -verbose
6 | -optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
7 |
8 | -keep public class * extends android.app.Activity
9 | -keep public class * extends android.app.Application
10 | -keep public class * extends android.app.Service
11 | -keep public class * extends android.content.BroadcastReceiver
12 | -keep public class * extends android.content.ContentProvider
13 | -keep public class * extends android.app.backup.BackupAgentHelper
14 | -keep public class * extends android.preference.Preference
15 | -keep public class com.android.vending.licensing.ILicensingService
16 |
17 | -keepclasseswithmembernames class * {
18 | native ;
19 | }
20 |
21 | -keepclasseswithmembers class * {
22 | public (android.content.Context, android.util.AttributeSet);
23 | }
24 |
25 | -keepclasseswithmembers class * {
26 | public (android.content.Context, android.util.AttributeSet, int);
27 | }
28 |
29 | -keepclassmembers class * extends android.app.Activity {
30 | public void *(android.view.View);
31 | }
32 |
33 | -keepclassmembers enum * {
34 | public static **[] values();
35 | public static ** valueOf(java.lang.String);
36 | }
37 |
38 | -keep class * implements android.os.Parcelable {
39 | public static final android.os.Parcelable$Creator *;
40 | }
41 |
--------------------------------------------------------------------------------
/Trips/CW/StaticOkPin/proguard.cfg:
--------------------------------------------------------------------------------
1 | -optimizationpasses 5
2 | -dontusemixedcaseclassnames
3 | -dontskipnonpubliclibraryclasses
4 | -dontpreverify
5 | -verbose
6 | -optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
7 |
8 | -keep public class * extends android.app.Activity
9 | -keep public class * extends android.app.Application
10 | -keep public class * extends android.app.Service
11 | -keep public class * extends android.content.BroadcastReceiver
12 | -keep public class * extends android.content.ContentProvider
13 | -keep public class * extends android.app.backup.BackupAgentHelper
14 | -keep public class * extends android.preference.Preference
15 | -keep public class com.android.vending.licensing.ILicensingService
16 |
17 | -keepclasseswithmembernames class * {
18 | native ;
19 | }
20 |
21 | -keepclasseswithmembers class * {
22 | public (android.content.Context, android.util.AttributeSet);
23 | }
24 |
25 | -keepclasseswithmembers class * {
26 | public (android.content.Context, android.util.AttributeSet, int);
27 | }
28 |
29 | -keepclassmembers class * extends android.app.Activity {
30 | public void *(android.view.View);
31 | }
32 |
33 | -keepclassmembers enum * {
34 | public static **[] values();
35 | public static ** valueOf(java.lang.String);
36 | }
37 |
38 | -keep class * implements android.os.Parcelable {
39 | public static final android.os.Parcelable$Creator *;
40 | }
41 |
--------------------------------------------------------------------------------
/Trips/CW/StaticSecure/proguard.cfg:
--------------------------------------------------------------------------------
1 | -optimizationpasses 5
2 | -dontusemixedcaseclassnames
3 | -dontskipnonpubliclibraryclasses
4 | -dontpreverify
5 | -verbose
6 | -optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
7 |
8 | -keep public class * extends android.app.Activity
9 | -keep public class * extends android.app.Application
10 | -keep public class * extends android.app.Service
11 | -keep public class * extends android.content.BroadcastReceiver
12 | -keep public class * extends android.content.ContentProvider
13 | -keep public class * extends android.app.backup.BackupAgentHelper
14 | -keep public class * extends android.preference.Preference
15 | -keep public class com.android.vending.licensing.ILicensingService
16 |
17 | -keepclasseswithmembernames class * {
18 | native ;
19 | }
20 |
21 | -keepclasseswithmembers class * {
22 | public (android.content.Context, android.util.AttributeSet);
23 | }
24 |
25 | -keepclasseswithmembers class * {
26 | public (android.content.Context, android.util.AttributeSet, int);
27 | }
28 |
29 | -keepclassmembers class * extends android.app.Activity {
30 | public void *(android.view.View);
31 | }
32 |
33 | -keepclassmembers enum * {
34 | public static **[] values();
35 | public static ** valueOf(java.lang.String);
36 | }
37 |
38 | -keep class * implements android.os.Parcelable {
39 | public static final android.os.Parcelable$Creator *;
40 | }
41 |
--------------------------------------------------------------------------------
/Trips/CW/StaticTest/proguard.cfg:
--------------------------------------------------------------------------------
1 | -optimizationpasses 5
2 | -dontusemixedcaseclassnames
3 | -dontskipnonpubliclibraryclasses
4 | -dontpreverify
5 | -verbose
6 | -optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
7 |
8 | -keep public class * extends android.app.Activity
9 | -keep public class * extends android.app.Application
10 | -keep public class * extends android.app.Service
11 | -keep public class * extends android.content.BroadcastReceiver
12 | -keep public class * extends android.content.ContentProvider
13 | -keep public class * extends android.app.backup.BackupAgentHelper
14 | -keep public class * extends android.preference.Preference
15 | -keep public class com.android.vending.licensing.ILicensingService
16 |
17 | -keepclasseswithmembernames class * {
18 | native ;
19 | }
20 |
21 | -keepclasseswithmembers class * {
22 | public (android.content.Context, android.util.AttributeSet);
23 | }
24 |
25 | -keepclasseswithmembers class * {
26 | public (android.content.Context, android.util.AttributeSet, int);
27 | }
28 |
29 | -keepclassmembers class * extends android.app.Activity {
30 | public void *(android.view.View);
31 | }
32 |
33 | -keepclassmembers enum * {
34 | public static **[] values();
35 | public static ** valueOf(java.lang.String);
36 | }
37 |
38 | -keep class * implements android.os.Parcelable {
39 | public static final android.os.Parcelable$Creator *;
40 | }
41 |
--------------------------------------------------------------------------------
/GitHub/DateTime/app/src/main/java/com/commonsware/graphql/github/MainActivity.java:
--------------------------------------------------------------------------------
1 | /***
2 | Copyright (c) 2012-17 CommonsWare, LLC
3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 | use this file except in compliance with the License. You may obtain a copy
5 | of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required
6 | by applicable law or agreed to in writing, software distributed under the
7 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
8 | OF ANY KIND, either express or implied. See the License for the specific
9 | language governing permissions and limitations under the License.
10 |
11 | From _GraphQL and Android_
12 | https://commonsware.com/GraphQL
13 | */
14 |
15 | package com.commonsware.graphql.github;
16 |
17 | import android.app.Activity;
18 | import android.os.Bundle;
19 |
20 | public class MainActivity extends Activity {
21 | @Override
22 | public void onCreate(Bundle savedInstanceState) {
23 | super.onCreate(savedInstanceState);
24 |
25 | if (getFragmentManager().findFragmentById(android.R.id.content) == null) {
26 | getFragmentManager().beginTransaction()
27 | .add(android.R.id.content,
28 | new ViewerFragment()).commit();
29 | }
30 | }
31 |
32 | void setLogin(String login) {
33 | setTitle("Starred for: "+login);
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsDyn/proguard.cfg:
--------------------------------------------------------------------------------
1 | -optimizationpasses 5
2 | -dontusemixedcaseclassnames
3 | -dontskipnonpubliclibraryclasses
4 | -dontpreverify
5 | -verbose
6 | -optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
7 |
8 | -keep public class * extends android.app.Activity
9 | -keep public class * extends android.app.Application
10 | -keep public class * extends android.app.Service
11 | -keep public class * extends android.content.BroadcastReceiver
12 | -keep public class * extends android.content.ContentProvider
13 | -keep public class * extends android.app.backup.BackupAgentHelper
14 | -keep public class * extends android.preference.Preference
15 | -keep public class com.android.vending.licensing.ILicensingService
16 |
17 | -keepclasseswithmembernames class * {
18 | native ;
19 | }
20 |
21 | -keepclasseswithmembers class * {
22 | public (android.content.Context, android.util.AttributeSet);
23 | }
24 |
25 | -keepclasseswithmembers class * {
26 | public (android.content.Context, android.util.AttributeSet, int);
27 | }
28 |
29 | -keepclassmembers class * extends android.app.Activity {
30 | public void *(android.view.View);
31 | }
32 |
33 | -keepclassmembers enum * {
34 | public static **[] values();
35 | public static ** valueOf(java.lang.String);
36 | }
37 |
38 | -keep class * implements android.os.Parcelable {
39 | public static final android.os.Parcelable$Creator *;
40 | }
41 |
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsStatic/proguard.cfg:
--------------------------------------------------------------------------------
1 | -optimizationpasses 5
2 | -dontusemixedcaseclassnames
3 | -dontskipnonpubliclibraryclasses
4 | -dontpreverify
5 | -verbose
6 | -optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
7 |
8 | -keep public class * extends android.app.Activity
9 | -keep public class * extends android.app.Application
10 | -keep public class * extends android.app.Service
11 | -keep public class * extends android.content.BroadcastReceiver
12 | -keep public class * extends android.content.ContentProvider
13 | -keep public class * extends android.app.backup.BackupAgentHelper
14 | -keep public class * extends android.preference.Preference
15 | -keep public class com.android.vending.licensing.ILicensingService
16 |
17 | -keepclasseswithmembernames class * {
18 | native ;
19 | }
20 |
21 | -keepclasseswithmembers class * {
22 | public (android.content.Context, android.util.AttributeSet);
23 | }
24 |
25 | -keepclasseswithmembers class * {
26 | public (android.content.Context, android.util.AttributeSet, int);
27 | }
28 |
29 | -keepclassmembers class * extends android.app.Activity {
30 | public void *(android.view.View);
31 | }
32 |
33 | -keepclassmembers enum * {
34 | public static **[] values();
35 | public static ** valueOf(java.lang.String);
36 | }
37 |
38 | -keep class * implements android.os.Parcelable {
39 | public static final android.os.Parcelable$Creator *;
40 | }
41 |
--------------------------------------------------------------------------------
/Trips/CW/StaticFragment/proguard.cfg:
--------------------------------------------------------------------------------
1 | -optimizationpasses 5
2 | -dontusemixedcaseclassnames
3 | -dontskipnonpubliclibraryclasses
4 | -dontpreverify
5 | -verbose
6 | -optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
7 |
8 | -keep public class * extends android.app.Activity
9 | -keep public class * extends android.app.Application
10 | -keep public class * extends android.app.Service
11 | -keep public class * extends android.content.BroadcastReceiver
12 | -keep public class * extends android.content.ContentProvider
13 | -keep public class * extends android.app.backup.BackupAgentHelper
14 | -keep public class * extends android.preference.Preference
15 | -keep public class com.android.vending.licensing.ILicensingService
16 |
17 | -keepclasseswithmembernames class * {
18 | native ;
19 | }
20 |
21 | -keepclasseswithmembers class * {
22 | public (android.content.Context, android.util.AttributeSet);
23 | }
24 |
25 | -keepclasseswithmembers class * {
26 | public (android.content.Context, android.util.AttributeSet, int);
27 | }
28 |
29 | -keepclassmembers class * extends android.app.Activity {
30 | public void *(android.view.View);
31 | }
32 |
33 | -keepclassmembers enum * {
34 | public static **[] values();
35 | public static ** valueOf(java.lang.String);
36 | }
37 |
38 | -keep class * implements android.os.Parcelable {
39 | public static final android.os.Parcelable$Creator *;
40 | }
41 |
--------------------------------------------------------------------------------
/Trips/CW/StaticInlineFrag/proguard.cfg:
--------------------------------------------------------------------------------
1 | -optimizationpasses 5
2 | -dontusemixedcaseclassnames
3 | -dontskipnonpubliclibraryclasses
4 | -dontpreverify
5 | -verbose
6 | -optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
7 |
8 | -keep public class * extends android.app.Activity
9 | -keep public class * extends android.app.Application
10 | -keep public class * extends android.app.Service
11 | -keep public class * extends android.content.BroadcastReceiver
12 | -keep public class * extends android.content.ContentProvider
13 | -keep public class * extends android.app.backup.BackupAgentHelper
14 | -keep public class * extends android.preference.Preference
15 | -keep public class com.android.vending.licensing.ILicensingService
16 |
17 | -keepclasseswithmembernames class * {
18 | native ;
19 | }
20 |
21 | -keepclasseswithmembers class * {
22 | public (android.content.Context, android.util.AttributeSet);
23 | }
24 |
25 | -keepclasseswithmembers class * {
26 | public (android.content.Context, android.util.AttributeSet, int);
27 | }
28 |
29 | -keepclassmembers class * extends android.app.Activity {
30 | public void *(android.view.View);
31 | }
32 |
33 | -keepclassmembers enum * {
34 | public static **[] values();
35 | public static ** valueOf(java.lang.String);
36 | }
37 |
38 | -keep class * implements android.os.Parcelable {
39 | public static final android.os.Parcelable$Creator *;
40 | }
41 |
--------------------------------------------------------------------------------
/Trips/CW/StaticTest/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 | apply plugin: 'com.apollographql.android'
3 |
4 | dependencies {
5 | compile 'io.reactivex.rxjava2:rxjava:2.0.2'
6 | compile 'io.reactivex.rxjava2:rxandroid:2.0.0'
7 | compile 'com.android.support:recyclerview-v7:25.4.0'
8 | compile 'com.apollographql.apollo:apollo-rx2-support:0.4.0'
9 | compile 'com.squareup.okhttp3:okhttp:3.8.1'
10 | androidTestCompile 'com.android.support.test:rules:0.5'
11 | androidTestCompile "com.android.support:support-annotations:25.4.0"
12 | androidTestCompile "org.mockito:mockito-core:1.10.19"
13 | androidTestCompile "com.crittercism.dexmaker:dexmaker:1.4"
14 | androidTestCompile "com.crittercism.dexmaker:dexmaker-mockito:1.4"
15 | androidTestCompile "com.crittercism.dexmaker:dexmaker-dx:1.4"
16 | androidTestCompile 'com.squareup.okhttp3:mockwebserver:3.8.1'
17 | }
18 |
19 | android {
20 | compileSdkVersion 26
21 | buildToolsVersion "26.0.1"
22 |
23 | defaultConfig {
24 | minSdkVersion 15
25 | targetSdkVersion 26
26 | applicationId "com.commonsware.graphql.trips.simple.statictest"
27 |
28 | jackOptions {
29 | enabled true
30 | }
31 |
32 | testApplicationId "com.commonsware.graphql.trips.simple.statictest.test"
33 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
34 | }
35 |
36 | compileOptions {
37 | sourceCompatibility JavaVersion.VERSION_1_8
38 | targetCompatibility JavaVersion.VERSION_1_8
39 | }
40 | }
41 |
42 | apollo {
43 | useSemanticNaming = false
44 | }
--------------------------------------------------------------------------------
/GitHub/DateTime/app/src/main/java/com/commonsware/graphql/github/ISO8601Adapter.java:
--------------------------------------------------------------------------------
1 | /***
2 | Copyright (c) 2012-17 CommonsWare, LLC
3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 | use this file except in compliance with the License. You may obtain a copy
5 | of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required
6 | by applicable law or agreed to in writing, software distributed under the
7 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
8 | OF ANY KIND, either express or implied. See the License for the specific
9 | language governing permissions and limitations under the License.
10 |
11 | From _GraphQL and Android_
12 | https://commonsware.com/GraphQL
13 | */
14 |
15 | package com.commonsware.graphql.github;
16 |
17 | import com.apollographql.apollo.CustomTypeAdapter;
18 | import java.text.ParseException;
19 | import java.text.SimpleDateFormat;
20 | import java.util.Date;
21 |
22 | class ISO8601Adapter implements CustomTypeAdapter {
23 | private static final SimpleDateFormat ISO8601=
24 | new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ");
25 |
26 | // based in part on https://stackoverflow.com/a/10621553/115145
27 |
28 | @Override
29 | public Date decode(String value) {
30 | try {
31 | return(ISO8601.parse(value.replace("Z", "+00:00")));
32 | }
33 | catch (ParseException e) {
34 | throw new IllegalArgumentException(value+" is not a valid ISO 8601 date", e);
35 | }
36 | }
37 |
38 | @Override
39 | public String encode(Date value) {
40 | return(ISO8601.format(value));
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/GitHub/Auth/app/src/main/java/com/commonsware/graphql/github/RecyclerViewFragment.java:
--------------------------------------------------------------------------------
1 | /***
2 | Copyright (c) 2008-17 CommonsWare, LLC
3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 | use this file except in compliance with the License. You may obtain a copy
5 | of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required
6 | by applicable law or agreed to in writing, software distributed under the
7 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
8 | OF ANY KIND, either express or implied. See the License for the specific
9 | language governing permissions and limitations under the License.
10 |
11 | From _GraphQL and Android_
12 | https://commonsware.com/GraphQL
13 | */
14 |
15 | package com.commonsware.graphql.github;
16 |
17 | import android.app.Fragment;
18 | import android.os.Bundle;
19 | import android.support.v7.widget.RecyclerView;
20 | import android.view.LayoutInflater;
21 | import android.view.View;
22 | import android.view.ViewGroup;
23 |
24 | public class RecyclerViewFragment extends Fragment {
25 | @Override
26 | public View onCreateView(LayoutInflater inflater, ViewGroup container,
27 | Bundle savedInstanceState) {
28 | RecyclerView rv=new RecyclerView(getActivity());
29 |
30 | rv.setHasFixedSize(true);
31 |
32 | return(rv);
33 | }
34 |
35 | public void setAdapter(RecyclerView.Adapter adapter) {
36 | getRecyclerView().setAdapter(adapter);
37 | }
38 |
39 | public RecyclerView.Adapter getAdapter() {
40 | return(getRecyclerView().getAdapter());
41 | }
42 |
43 | public void setLayoutManager(RecyclerView.LayoutManager mgr) {
44 | getRecyclerView().setLayoutManager(mgr);
45 | }
46 |
47 | public RecyclerView getRecyclerView() {
48 | return((RecyclerView)getView());
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/GitHub/DateTime/app/src/main/java/com/commonsware/graphql/github/RecyclerViewFragment.java:
--------------------------------------------------------------------------------
1 | /***
2 | Copyright (c) 2008-17 CommonsWare, LLC
3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 | use this file except in compliance with the License. You may obtain a copy
5 | of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required
6 | by applicable law or agreed to in writing, software distributed under the
7 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
8 | OF ANY KIND, either express or implied. See the License for the specific
9 | language governing permissions and limitations under the License.
10 |
11 | From _GraphQL and Android_
12 | https://commonsware.com/GraphQL
13 | */
14 |
15 | package com.commonsware.graphql.github;
16 |
17 | import android.app.Fragment;
18 | import android.os.Bundle;
19 | import android.support.v7.widget.RecyclerView;
20 | import android.view.LayoutInflater;
21 | import android.view.View;
22 | import android.view.ViewGroup;
23 |
24 | public class RecyclerViewFragment extends Fragment {
25 | @Override
26 | public View onCreateView(LayoutInflater inflater, ViewGroup container,
27 | Bundle savedInstanceState) {
28 | RecyclerView rv=new RecyclerView(getActivity());
29 |
30 | rv.setHasFixedSize(true);
31 |
32 | return(rv);
33 | }
34 |
35 | public void setAdapter(RecyclerView.Adapter adapter) {
36 | getRecyclerView().setAdapter(adapter);
37 | }
38 |
39 | public RecyclerView.Adapter getAdapter() {
40 | return(getRecyclerView().getAdapter());
41 | }
42 |
43 | public void setLayoutManager(RecyclerView.LayoutManager mgr) {
44 | getRecyclerView().setLayoutManager(mgr);
45 | }
46 |
47 | public RecyclerView getRecyclerView() {
48 | return((RecyclerView)getView());
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/GitHub/Starred/app/src/main/java/com/commonsware/graphql/github/RecyclerViewFragment.java:
--------------------------------------------------------------------------------
1 | /***
2 | Copyright (c) 2008-17 CommonsWare, LLC
3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 | use this file except in compliance with the License. You may obtain a copy
5 | of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required
6 | by applicable law or agreed to in writing, software distributed under the
7 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
8 | OF ANY KIND, either express or implied. See the License for the specific
9 | language governing permissions and limitations under the License.
10 |
11 | From _GraphQL and Android_
12 | https://commonsware.com/GraphQL
13 | */
14 |
15 | package com.commonsware.graphql.github;
16 |
17 | import android.app.Fragment;
18 | import android.os.Bundle;
19 | import android.support.v7.widget.RecyclerView;
20 | import android.view.LayoutInflater;
21 | import android.view.View;
22 | import android.view.ViewGroup;
23 |
24 | public class RecyclerViewFragment extends Fragment {
25 | @Override
26 | public View onCreateView(LayoutInflater inflater, ViewGroup container,
27 | Bundle savedInstanceState) {
28 | RecyclerView rv=new RecyclerView(getActivity());
29 |
30 | rv.setHasFixedSize(true);
31 |
32 | return(rv);
33 | }
34 |
35 | public void setAdapter(RecyclerView.Adapter adapter) {
36 | getRecyclerView().setAdapter(adapter);
37 | }
38 |
39 | public RecyclerView.Adapter getAdapter() {
40 | return(getRecyclerView().getAdapter());
41 | }
42 |
43 | public void setLayoutManager(RecyclerView.LayoutManager mgr) {
44 | getRecyclerView().setLayoutManager(mgr);
45 | }
46 |
47 | public RecyclerView getRecyclerView() {
48 | return((RecyclerView)getView());
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/Trips/Local/CRUD/app/src/main/java/com/commonsware/graphql/trips/crud/RecyclerViewFragment.java:
--------------------------------------------------------------------------------
1 | /***
2 | Copyright (c) 2008-17 CommonsWare, LLC
3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 | use this file except in compliance with the License. You may obtain a copy
5 | of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required
6 | by applicable law or agreed to in writing, software distributed under the
7 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
8 | OF ANY KIND, either express or implied. See the License for the specific
9 | language governing permissions and limitations under the License.
10 |
11 | From _GraphQL and Android_
12 | https://commonsware.com/GraphQL
13 | */
14 |
15 | package com.commonsware.graphql.trips.crud;
16 |
17 | import android.app.Fragment;
18 | import android.os.Bundle;
19 | import android.support.v7.widget.RecyclerView;
20 | import android.view.LayoutInflater;
21 | import android.view.View;
22 | import android.view.ViewGroup;
23 |
24 | public class RecyclerViewFragment extends Fragment {
25 | @Override
26 | public View onCreateView(LayoutInflater inflater, ViewGroup container,
27 | Bundle savedInstanceState) {
28 | RecyclerView rv=new RecyclerView(getActivity());
29 |
30 | rv.setHasFixedSize(true);
31 |
32 | return(rv);
33 | }
34 |
35 | public void setAdapter(RecyclerView.Adapter adapter) {
36 | getRecyclerView().setAdapter(adapter);
37 | }
38 |
39 | public RecyclerView.Adapter getAdapter() {
40 | return(getRecyclerView().getAdapter());
41 | }
42 |
43 | public void setLayoutManager(RecyclerView.LayoutManager mgr) {
44 | getRecyclerView().setLayoutManager(mgr);
45 | }
46 |
47 | public RecyclerView getRecyclerView() {
48 | return((RecyclerView)getView());
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/Trips/CW/DynamicList/app/src/main/java/com/commonsware/graphql/trips/simple/RecyclerViewFragment.java:
--------------------------------------------------------------------------------
1 | /***
2 | Copyright (c) 2008-17 CommonsWare, LLC
3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 | use this file except in compliance with the License. You may obtain a copy
5 | of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required
6 | by applicable law or agreed to in writing, software distributed under the
7 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
8 | OF ANY KIND, either express or implied. See the License for the specific
9 | language governing permissions and limitations under the License.
10 |
11 | From _GraphQL and Android_
12 | https://commonsware.com/GraphQL
13 | */
14 |
15 | package com.commonsware.graphql.trips.simple;
16 |
17 | import android.app.Fragment;
18 | import android.os.Bundle;
19 | import android.support.v7.widget.RecyclerView;
20 | import android.view.LayoutInflater;
21 | import android.view.View;
22 | import android.view.ViewGroup;
23 |
24 | public class RecyclerViewFragment extends Fragment {
25 | @Override
26 | public View onCreateView(LayoutInflater inflater, ViewGroup container,
27 | Bundle savedInstanceState) {
28 | RecyclerView rv=new RecyclerView(getActivity());
29 |
30 | rv.setHasFixedSize(true);
31 |
32 | return(rv);
33 | }
34 |
35 | public void setAdapter(RecyclerView.Adapter adapter) {
36 | getRecyclerView().setAdapter(adapter);
37 | }
38 |
39 | public RecyclerView.Adapter getAdapter() {
40 | return(getRecyclerView().getAdapter());
41 | }
42 |
43 | public void setLayoutManager(RecyclerView.LayoutManager mgr) {
44 | getRecyclerView().setLayoutManager(mgr);
45 | }
46 |
47 | public RecyclerView getRecyclerView() {
48 | return((RecyclerView)getView());
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/Trips/CW/SearchArgs/app/src/main/java/com/commonsware/graphql/trips/simple/RecyclerViewFragment.java:
--------------------------------------------------------------------------------
1 | /***
2 | Copyright (c) 2008-17 CommonsWare, LLC
3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 | use this file except in compliance with the License. You may obtain a copy
5 | of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required
6 | by applicable law or agreed to in writing, software distributed under the
7 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
8 | OF ANY KIND, either express or implied. See the License for the specific
9 | language governing permissions and limitations under the License.
10 |
11 | From _GraphQL and Android_
12 | https://commonsware.com/GraphQL
13 | */
14 |
15 | package com.commonsware.graphql.trips.simple;
16 |
17 | import android.app.Fragment;
18 | import android.os.Bundle;
19 | import android.support.v7.widget.RecyclerView;
20 | import android.view.LayoutInflater;
21 | import android.view.View;
22 | import android.view.ViewGroup;
23 |
24 | public class RecyclerViewFragment extends Fragment {
25 | @Override
26 | public View onCreateView(LayoutInflater inflater, ViewGroup container,
27 | Bundle savedInstanceState) {
28 | RecyclerView rv=new RecyclerView(getActivity());
29 |
30 | rv.setHasFixedSize(true);
31 |
32 | return(rv);
33 | }
34 |
35 | public void setAdapter(RecyclerView.Adapter adapter) {
36 | getRecyclerView().setAdapter(adapter);
37 | }
38 |
39 | public RecyclerView.Adapter getAdapter() {
40 | return(getRecyclerView().getAdapter());
41 | }
42 |
43 | public void setLayoutManager(RecyclerView.LayoutManager mgr) {
44 | getRecyclerView().setLayoutManager(mgr);
45 | }
46 |
47 | public RecyclerView getRecyclerView() {
48 | return((RecyclerView)getView());
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/Trips/CW/StaticAlias/app/src/main/java/com/commonsware/graphql/trips/simple/RecyclerViewFragment.java:
--------------------------------------------------------------------------------
1 | /***
2 | Copyright (c) 2008-17 CommonsWare, LLC
3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 | use this file except in compliance with the License. You may obtain a copy
5 | of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required
6 | by applicable law or agreed to in writing, software distributed under the
7 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
8 | OF ANY KIND, either express or implied. See the License for the specific
9 | language governing permissions and limitations under the License.
10 |
11 | From _GraphQL and Android_
12 | https://commonsware.com/GraphQL
13 | */
14 |
15 | package com.commonsware.graphql.trips.simple;
16 |
17 | import android.app.Fragment;
18 | import android.os.Bundle;
19 | import android.support.v7.widget.RecyclerView;
20 | import android.view.LayoutInflater;
21 | import android.view.View;
22 | import android.view.ViewGroup;
23 |
24 | public class RecyclerViewFragment extends Fragment {
25 | @Override
26 | public View onCreateView(LayoutInflater inflater, ViewGroup container,
27 | Bundle savedInstanceState) {
28 | RecyclerView rv=new RecyclerView(getActivity());
29 |
30 | rv.setHasFixedSize(true);
31 |
32 | return(rv);
33 | }
34 |
35 | public void setAdapter(RecyclerView.Adapter adapter) {
36 | getRecyclerView().setAdapter(adapter);
37 | }
38 |
39 | public RecyclerView.Adapter getAdapter() {
40 | return(getRecyclerView().getAdapter());
41 | }
42 |
43 | public void setLayoutManager(RecyclerView.LayoutManager mgr) {
44 | getRecyclerView().setLayoutManager(mgr);
45 | }
46 |
47 | public RecyclerView getRecyclerView() {
48 | return((RecyclerView)getView());
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/Trips/CW/StaticList/app/src/main/java/com/commonsware/graphql/trips/simple/RecyclerViewFragment.java:
--------------------------------------------------------------------------------
1 | /***
2 | Copyright (c) 2008-17 CommonsWare, LLC
3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 | use this file except in compliance with the License. You may obtain a copy
5 | of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required
6 | by applicable law or agreed to in writing, software distributed under the
7 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
8 | OF ANY KIND, either express or implied. See the License for the specific
9 | language governing permissions and limitations under the License.
10 |
11 | From _GraphQL and Android_
12 | https://commonsware.com/GraphQL
13 | */
14 |
15 | package com.commonsware.graphql.trips.simple;
16 |
17 | import android.app.Fragment;
18 | import android.os.Bundle;
19 | import android.support.v7.widget.RecyclerView;
20 | import android.view.LayoutInflater;
21 | import android.view.View;
22 | import android.view.ViewGroup;
23 |
24 | public class RecyclerViewFragment extends Fragment {
25 | @Override
26 | public View onCreateView(LayoutInflater inflater, ViewGroup container,
27 | Bundle savedInstanceState) {
28 | RecyclerView rv=new RecyclerView(getActivity());
29 |
30 | rv.setHasFixedSize(true);
31 |
32 | return(rv);
33 | }
34 |
35 | public void setAdapter(RecyclerView.Adapter adapter) {
36 | getRecyclerView().setAdapter(adapter);
37 | }
38 |
39 | public RecyclerView.Adapter getAdapter() {
40 | return(getRecyclerView().getAdapter());
41 | }
42 |
43 | public void setLayoutManager(RecyclerView.LayoutManager mgr) {
44 | getRecyclerView().setLayoutManager(mgr);
45 | }
46 |
47 | public RecyclerView getRecyclerView() {
48 | return((RecyclerView)getView());
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/Trips/CW/StaticOkPin/app/src/main/java/com/commonsware/graphql/trips/simple/RecyclerViewFragment.java:
--------------------------------------------------------------------------------
1 | /***
2 | Copyright (c) 2008-17 CommonsWare, LLC
3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 | use this file except in compliance with the License. You may obtain a copy
5 | of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required
6 | by applicable law or agreed to in writing, software distributed under the
7 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
8 | OF ANY KIND, either express or implied. See the License for the specific
9 | language governing permissions and limitations under the License.
10 |
11 | From _GraphQL and Android_
12 | https://commonsware.com/GraphQL
13 | */
14 |
15 | package com.commonsware.graphql.trips.simple;
16 |
17 | import android.app.Fragment;
18 | import android.os.Bundle;
19 | import android.support.v7.widget.RecyclerView;
20 | import android.view.LayoutInflater;
21 | import android.view.View;
22 | import android.view.ViewGroup;
23 |
24 | public class RecyclerViewFragment extends Fragment {
25 | @Override
26 | public View onCreateView(LayoutInflater inflater, ViewGroup container,
27 | Bundle savedInstanceState) {
28 | RecyclerView rv=new RecyclerView(getActivity());
29 |
30 | rv.setHasFixedSize(true);
31 |
32 | return(rv);
33 | }
34 |
35 | public void setAdapter(RecyclerView.Adapter adapter) {
36 | getRecyclerView().setAdapter(adapter);
37 | }
38 |
39 | public RecyclerView.Adapter getAdapter() {
40 | return(getRecyclerView().getAdapter());
41 | }
42 |
43 | public void setLayoutManager(RecyclerView.LayoutManager mgr) {
44 | getRecyclerView().setLayoutManager(mgr);
45 | }
46 |
47 | public RecyclerView getRecyclerView() {
48 | return((RecyclerView)getView());
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/Trips/CW/StaticSecure/app/src/main/java/com/commonsware/graphql/trips/simple/RecyclerViewFragment.java:
--------------------------------------------------------------------------------
1 | /***
2 | Copyright (c) 2008-17 CommonsWare, LLC
3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 | use this file except in compliance with the License. You may obtain a copy
5 | of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required
6 | by applicable law or agreed to in writing, software distributed under the
7 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
8 | OF ANY KIND, either express or implied. See the License for the specific
9 | language governing permissions and limitations under the License.
10 |
11 | From _GraphQL and Android_
12 | https://commonsware.com/GraphQL
13 | */
14 |
15 | package com.commonsware.graphql.trips.simple;
16 |
17 | import android.app.Fragment;
18 | import android.os.Bundle;
19 | import android.support.v7.widget.RecyclerView;
20 | import android.view.LayoutInflater;
21 | import android.view.View;
22 | import android.view.ViewGroup;
23 |
24 | public class RecyclerViewFragment extends Fragment {
25 | @Override
26 | public View onCreateView(LayoutInflater inflater, ViewGroup container,
27 | Bundle savedInstanceState) {
28 | RecyclerView rv=new RecyclerView(getActivity());
29 |
30 | rv.setHasFixedSize(true);
31 |
32 | return(rv);
33 | }
34 |
35 | public void setAdapter(RecyclerView.Adapter adapter) {
36 | getRecyclerView().setAdapter(adapter);
37 | }
38 |
39 | public RecyclerView.Adapter getAdapter() {
40 | return(getRecyclerView().getAdapter());
41 | }
42 |
43 | public void setLayoutManager(RecyclerView.LayoutManager mgr) {
44 | getRecyclerView().setLayoutManager(mgr);
45 | }
46 |
47 | public RecyclerView getRecyclerView() {
48 | return((RecyclerView)getView());
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/Trips/CW/StaticTest/app/src/main/java/com/commonsware/graphql/trips/simple/RecyclerViewFragment.java:
--------------------------------------------------------------------------------
1 | /***
2 | Copyright (c) 2008-17 CommonsWare, LLC
3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 | use this file except in compliance with the License. You may obtain a copy
5 | of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required
6 | by applicable law or agreed to in writing, software distributed under the
7 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
8 | OF ANY KIND, either express or implied. See the License for the specific
9 | language governing permissions and limitations under the License.
10 |
11 | From _GraphQL and Android_
12 | https://commonsware.com/GraphQL
13 | */
14 |
15 | package com.commonsware.graphql.trips.simple;
16 |
17 | import android.app.Fragment;
18 | import android.os.Bundle;
19 | import android.support.v7.widget.RecyclerView;
20 | import android.view.LayoutInflater;
21 | import android.view.View;
22 | import android.view.ViewGroup;
23 |
24 | public class RecyclerViewFragment extends Fragment {
25 | @Override
26 | public View onCreateView(LayoutInflater inflater, ViewGroup container,
27 | Bundle savedInstanceState) {
28 | RecyclerView rv=new RecyclerView(getActivity());
29 |
30 | rv.setHasFixedSize(true);
31 |
32 | return(rv);
33 | }
34 |
35 | public void setAdapter(RecyclerView.Adapter adapter) {
36 | getRecyclerView().setAdapter(adapter);
37 | }
38 |
39 | public RecyclerView.Adapter getAdapter() {
40 | return(getRecyclerView().getAdapter());
41 | }
42 |
43 | public void setLayoutManager(RecyclerView.LayoutManager mgr) {
44 | getRecyclerView().setLayoutManager(mgr);
45 | }
46 |
47 | public RecyclerView getRecyclerView() {
48 | return((RecyclerView)getView());
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsDyn/app/src/main/java/com/commonsware/graphql/trips/simple/RecyclerViewFragment.java:
--------------------------------------------------------------------------------
1 | /***
2 | Copyright (c) 2008-17 CommonsWare, LLC
3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 | use this file except in compliance with the License. You may obtain a copy
5 | of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required
6 | by applicable law or agreed to in writing, software distributed under the
7 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
8 | OF ANY KIND, either express or implied. See the License for the specific
9 | language governing permissions and limitations under the License.
10 |
11 | From _GraphQL and Android_
12 | https://commonsware.com/GraphQL
13 | */
14 |
15 | package com.commonsware.graphql.trips.simple;
16 |
17 | import android.app.Fragment;
18 | import android.os.Bundle;
19 | import android.support.v7.widget.RecyclerView;
20 | import android.view.LayoutInflater;
21 | import android.view.View;
22 | import android.view.ViewGroup;
23 |
24 | public class RecyclerViewFragment extends Fragment {
25 | @Override
26 | public View onCreateView(LayoutInflater inflater, ViewGroup container,
27 | Bundle savedInstanceState) {
28 | RecyclerView rv=new RecyclerView(getActivity());
29 |
30 | rv.setHasFixedSize(true);
31 |
32 | return(rv);
33 | }
34 |
35 | public void setAdapter(RecyclerView.Adapter adapter) {
36 | getRecyclerView().setAdapter(adapter);
37 | }
38 |
39 | public RecyclerView.Adapter getAdapter() {
40 | return(getRecyclerView().getAdapter());
41 | }
42 |
43 | public void setLayoutManager(RecyclerView.LayoutManager mgr) {
44 | getRecyclerView().setLayoutManager(mgr);
45 | }
46 |
47 | public RecyclerView getRecyclerView() {
48 | return((RecyclerView)getView());
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsStatic/app/src/main/java/com/commonsware/graphql/trips/simple/RecyclerViewFragment.java:
--------------------------------------------------------------------------------
1 | /***
2 | Copyright (c) 2008-17 CommonsWare, LLC
3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 | use this file except in compliance with the License. You may obtain a copy
5 | of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required
6 | by applicable law or agreed to in writing, software distributed under the
7 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
8 | OF ANY KIND, either express or implied. See the License for the specific
9 | language governing permissions and limitations under the License.
10 |
11 | From _GraphQL and Android_
12 | https://commonsware.com/GraphQL
13 | */
14 |
15 | package com.commonsware.graphql.trips.simple;
16 |
17 | import android.app.Fragment;
18 | import android.os.Bundle;
19 | import android.support.v7.widget.RecyclerView;
20 | import android.view.LayoutInflater;
21 | import android.view.View;
22 | import android.view.ViewGroup;
23 |
24 | public class RecyclerViewFragment extends Fragment {
25 | @Override
26 | public View onCreateView(LayoutInflater inflater, ViewGroup container,
27 | Bundle savedInstanceState) {
28 | RecyclerView rv=new RecyclerView(getActivity());
29 |
30 | rv.setHasFixedSize(true);
31 |
32 | return(rv);
33 | }
34 |
35 | public void setAdapter(RecyclerView.Adapter adapter) {
36 | getRecyclerView().setAdapter(adapter);
37 | }
38 |
39 | public RecyclerView.Adapter getAdapter() {
40 | return(getRecyclerView().getAdapter());
41 | }
42 |
43 | public void setLayoutManager(RecyclerView.LayoutManager mgr) {
44 | getRecyclerView().setLayoutManager(mgr);
45 | }
46 |
47 | public RecyclerView getRecyclerView() {
48 | return((RecyclerView)getView());
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/Trips/CW/StaticFragment/app/src/main/java/com/commonsware/graphql/trips/simple/RecyclerViewFragment.java:
--------------------------------------------------------------------------------
1 | /***
2 | Copyright (c) 2008-17 CommonsWare, LLC
3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 | use this file except in compliance with the License. You may obtain a copy
5 | of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required
6 | by applicable law or agreed to in writing, software distributed under the
7 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
8 | OF ANY KIND, either express or implied. See the License for the specific
9 | language governing permissions and limitations under the License.
10 |
11 | From _GraphQL and Android_
12 | https://commonsware.com/GraphQL
13 | */
14 |
15 | package com.commonsware.graphql.trips.simple;
16 |
17 | import android.app.Fragment;
18 | import android.os.Bundle;
19 | import android.support.v7.widget.RecyclerView;
20 | import android.view.LayoutInflater;
21 | import android.view.View;
22 | import android.view.ViewGroup;
23 |
24 | public class RecyclerViewFragment extends Fragment {
25 | @Override
26 | public View onCreateView(LayoutInflater inflater, ViewGroup container,
27 | Bundle savedInstanceState) {
28 | RecyclerView rv=new RecyclerView(getActivity());
29 |
30 | rv.setHasFixedSize(true);
31 |
32 | return(rv);
33 | }
34 |
35 | public void setAdapter(RecyclerView.Adapter adapter) {
36 | getRecyclerView().setAdapter(adapter);
37 | }
38 |
39 | public RecyclerView.Adapter getAdapter() {
40 | return(getRecyclerView().getAdapter());
41 | }
42 |
43 | public void setLayoutManager(RecyclerView.LayoutManager mgr) {
44 | getRecyclerView().setLayoutManager(mgr);
45 | }
46 |
47 | public RecyclerView getRecyclerView() {
48 | return((RecyclerView)getView());
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/Trips/CW/StaticInlineFrag/app/src/main/java/com/commonsware/graphql/trips/simple/RecyclerViewFragment.java:
--------------------------------------------------------------------------------
1 | /***
2 | Copyright (c) 2008-17 CommonsWare, LLC
3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 | use this file except in compliance with the License. You may obtain a copy
5 | of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required
6 | by applicable law or agreed to in writing, software distributed under the
7 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
8 | OF ANY KIND, either express or implied. See the License for the specific
9 | language governing permissions and limitations under the License.
10 |
11 | From _GraphQL and Android_
12 | https://commonsware.com/GraphQL
13 | */
14 |
15 | package com.commonsware.graphql.trips.simple;
16 |
17 | import android.app.Fragment;
18 | import android.os.Bundle;
19 | import android.support.v7.widget.RecyclerView;
20 | import android.view.LayoutInflater;
21 | import android.view.View;
22 | import android.view.ViewGroup;
23 |
24 | public class RecyclerViewFragment extends Fragment {
25 | @Override
26 | public View onCreateView(LayoutInflater inflater, ViewGroup container,
27 | Bundle savedInstanceState) {
28 | RecyclerView rv=new RecyclerView(getActivity());
29 |
30 | rv.setHasFixedSize(true);
31 |
32 | return(rv);
33 | }
34 |
35 | public void setAdapter(RecyclerView.Adapter adapter) {
36 | getRecyclerView().setAdapter(adapter);
37 | }
38 |
39 | public RecyclerView.Adapter getAdapter() {
40 | return(getRecyclerView().getAdapter());
41 | }
42 |
43 | public void setLayoutManager(RecyclerView.LayoutManager mgr) {
44 | getRecyclerView().setLayoutManager(mgr);
45 | }
46 |
47 | public RecyclerView getRecyclerView() {
48 | return((RecyclerView)getView());
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/Trips/Local/CRUD/app/src/main/java/com/commonsware/graphql/trips/crud/HorizontalDividerItemDecoration.java:
--------------------------------------------------------------------------------
1 | /***
2 | Copyright (c) 2012-17 CommonsWare, LLC
3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 | use this file except in compliance with the License. You may obtain a copy
5 | of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required
6 | by applicable law or agreed to in writing, software distributed under the
7 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
8 | OF ANY KIND, either express or implied. See the License for the specific
9 | language governing permissions and limitations under the License.
10 |
11 | From _GraphQL and Android_
12 | https://commonsware.com/GraphQL
13 | */
14 |
15 | package com.commonsware.graphql.trips.crud;
16 |
17 | import android.graphics.Canvas;
18 | import android.graphics.drawable.Drawable;
19 | import android.support.v7.widget.RecyclerView;
20 | import android.view.View;
21 |
22 | // inspired by https://gist.github.com/polbins/e37206fbc444207c0e92
23 |
24 | public class HorizontalDividerItemDecoration extends RecyclerView.ItemDecoration {
25 | private Drawable divider;
26 |
27 | public HorizontalDividerItemDecoration(Drawable divider) {
28 | this.divider=divider.mutate();
29 | }
30 |
31 | @Override
32 | public void onDrawOver(Canvas c, RecyclerView parent, RecyclerView.State state) {
33 | int left=parent.getPaddingLeft();
34 | int right=parent.getWidth()-parent.getPaddingRight();
35 |
36 | int childCount=parent.getChildCount();
37 |
38 | for (int i=0; i
18 |
19 |
20 |
21 | All of the source code in this archive is licensed under the
22 | Apache 2.0 license except as noted.
23 |
24 | All of the projects should have a `build.gradle` file suitable for
25 | importing the project into Android Studio. Note, though, that you
26 | may need to adjust the `compileSdkVersion` in `build.gradle` if it
27 | requests an SDK that you have not downloaded and do not wish to
28 | download. Similarly, you may need to adjust the `buildToolsVersion`
29 | value to refer to a version of the build tools that you have downloaded
30 | from the SDK Manager.
31 |
32 | The samples also have stub Gradle wrapper files, enough to allow for
33 | easy import into Android Studio. However,
34 | **always check the `gradle-wrapper.properties` file before importing anything into Android Studio**,
35 | as there is always the chance that somebody has published material linking you to a hacked Gradle installation.
36 |
--------------------------------------------------------------------------------
/Trips/CW/StaticAlias/app/src/main/java/com/commonsware/graphql/trips/simple/MainActivity.java:
--------------------------------------------------------------------------------
1 | /***
2 | Copyright (c) 2012-17 CommonsWare, LLC
3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 | use this file except in compliance with the License. You may obtain a copy
5 | of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required
6 | by applicable law or agreed to in writing, software distributed under the
7 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
8 | OF ANY KIND, either express or implied. See the License for the specific
9 | language governing permissions and limitations under the License.
10 |
11 | From _GraphQL and Android_
12 | https://commonsware.com/GraphQL
13 | */
14 |
15 | package com.commonsware.graphql.trips.simple;
16 |
17 | import android.app.Activity;
18 | import android.app.FragmentManager;
19 | import android.os.Bundle;
20 |
21 | public class MainActivity extends Activity
22 | implements FragmentManager.OnBackStackChangedListener {
23 | @Override
24 | public void onCreate(Bundle savedInstanceState) {
25 | super.onCreate(savedInstanceState);
26 |
27 | if (getFragmentManager().findFragmentById(android.R.id.content) == null) {
28 | getFragmentManager().beginTransaction()
29 | .add(android.R.id.content,
30 | new SimpleTripsFragment()).commit();
31 | }
32 |
33 | getFragmentManager().addOnBackStackChangedListener(this);
34 | }
35 |
36 | void searchFor(String search) {
37 | getFragmentManager().beginTransaction()
38 | .replace(android.R.id.content,
39 | SimpleTripsFragment.searchFor(search))
40 | .addToBackStack(null)
41 | .commit();
42 | updateTitle(search);
43 | }
44 |
45 | @Override
46 | public void onBackStackChanged() {
47 | SimpleTripsFragment f=
48 | (SimpleTripsFragment)getFragmentManager()
49 | .findFragmentById(android.R.id.content);
50 |
51 | if (f!=null) {
52 | updateTitle(f.getSearchExpression());
53 | }
54 | }
55 |
56 | private void updateTitle(String search) {
57 | if (search==null) {
58 | setTitle(R.string.app_name);
59 | }
60 | else {
61 | setTitle(getString(R.string.title_prefix_search)+search);
62 | }
63 | }
64 | }
65 |
--------------------------------------------------------------------------------
/Trips/CW/SearchVarsStatic/app/src/main/java/com/commonsware/graphql/trips/simple/MainActivity.java:
--------------------------------------------------------------------------------
1 | /***
2 | Copyright (c) 2012-17 CommonsWare, LLC
3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 | use this file except in compliance with the License. You may obtain a copy
5 | of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required
6 | by applicable law or agreed to in writing, software distributed under the
7 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
8 | OF ANY KIND, either express or implied. See the License for the specific
9 | language governing permissions and limitations under the License.
10 |
11 | From _GraphQL and Android_
12 | https://commonsware.com/GraphQL
13 | */
14 |
15 | package com.commonsware.graphql.trips.simple;
16 |
17 | import android.app.Activity;
18 | import android.app.FragmentManager;
19 | import android.os.Bundle;
20 |
21 | public class MainActivity extends Activity
22 | implements FragmentManager.OnBackStackChangedListener {
23 | @Override
24 | public void onCreate(Bundle savedInstanceState) {
25 | super.onCreate(savedInstanceState);
26 |
27 | if (getFragmentManager().findFragmentById(android.R.id.content) == null) {
28 | getFragmentManager().beginTransaction()
29 | .add(android.R.id.content,
30 | new SimpleTripsFragment()).commit();
31 | }
32 |
33 | getFragmentManager().addOnBackStackChangedListener(this);
34 | }
35 |
36 | void searchFor(String search) {
37 | getFragmentManager().beginTransaction()
38 | .replace(android.R.id.content,
39 | SimpleTripsFragment.searchFor(search))
40 | .addToBackStack(null)
41 | .commit();
42 | updateTitle(search);
43 | }
44 |
45 | @Override
46 | public void onBackStackChanged() {
47 | SimpleTripsFragment f=
48 | (SimpleTripsFragment)getFragmentManager()
49 | .findFragmentById(android.R.id.content);
50 |
51 | if (f!=null) {
52 | updateTitle(f.getSearchExpression());
53 | }
54 | }
55 |
56 | private void updateTitle(String search) {
57 | if (search==null) {
58 | setTitle(R.string.app_name);
59 | }
60 | else {
61 | setTitle(getString(R.string.title_prefix_search)+search);
62 | }
63 | }
64 | }
65 |
--------------------------------------------------------------------------------
/Trips/CW/StaticInlineFrag/app/src/main/java/com/commonsware/graphql/trips/simple/MainActivity.java:
--------------------------------------------------------------------------------
1 | /***
2 | Copyright (c) 2012-17 CommonsWare, LLC
3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 | use this file except in compliance with the License. You may obtain a copy
5 | of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required
6 | by applicable law or agreed to in writing, software distributed under the
7 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
8 | OF ANY KIND, either express or implied. See the License for the specific
9 | language governing permissions and limitations under the License.
10 |
11 | From _GraphQL and Android_
12 | https://commonsware.com/GraphQL
13 | */
14 |
15 | package com.commonsware.graphql.trips.simple;
16 |
17 | import android.app.Activity;
18 | import android.app.FragmentManager;
19 | import android.os.Bundle;
20 |
21 | public class MainActivity extends Activity
22 | implements FragmentManager.OnBackStackChangedListener {
23 | @Override
24 | public void onCreate(Bundle savedInstanceState) {
25 | super.onCreate(savedInstanceState);
26 |
27 | if (getFragmentManager().findFragmentById(android.R.id.content) == null) {
28 | getFragmentManager().beginTransaction()
29 | .add(android.R.id.content,
30 | new SimpleTripsFragment()).commit();
31 | }
32 |
33 | getFragmentManager().addOnBackStackChangedListener(this);
34 | }
35 |
36 | void searchFor(String search) {
37 | getFragmentManager().beginTransaction()
38 | .replace(android.R.id.content,
39 | SimpleTripsFragment.searchFor(search))
40 | .addToBackStack(null)
41 | .commit();
42 | updateTitle(search);
43 | }
44 |
45 | @Override
46 | public void onBackStackChanged() {
47 | SimpleTripsFragment f=
48 | (SimpleTripsFragment)getFragmentManager()
49 | .findFragmentById(android.R.id.content);
50 |
51 | if (f!=null) {
52 | updateTitle(f.getSearchExpression());
53 | }
54 | }
55 |
56 | private void updateTitle(String search) {
57 | if (search==null) {
58 | setTitle(R.string.app_name);
59 | }
60 | else {
61 | setTitle(getString(R.string.title_prefix_search)+search);
62 | }
63 | }
64 | }
65 |
--------------------------------------------------------------------------------