├── PluginDemo ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── values │ │ │ │ ├── dimens.xml │ │ │ │ ├── strings.xml │ │ │ │ ├── colors.xml │ │ │ │ └── styles.xml │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── menu │ │ │ │ └── menu_main.xml │ │ │ └── layout │ │ │ │ ├── content_main.xml │ │ │ │ └── activity_main.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── com │ │ │ └── androidleaf │ │ │ └── plugindemo │ │ │ └── MainActivity.java │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── androidleaf │ │ │ └── plugindemo │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── androidleaf │ │ └── plugindemo │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── RxjavaDemo ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── values │ │ │ │ ├── dimens.xml │ │ │ │ ├── strings.xml │ │ │ │ ├── colors.xml │ │ │ │ └── styles.xml │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── menu │ │ │ │ └── menu_main.xml │ │ │ └── layout │ │ │ │ ├── content_main.xml │ │ │ │ └── activity_main.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── com │ │ │ └── androidleaf │ │ │ └── rxjavademo │ │ │ └── MainActivity.java │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── androidleaf │ │ │ └── rxjavademo │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── androidleaf │ │ └── rxjavademo │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── WebviewDemo ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── values │ │ │ │ ├── dimens.xml │ │ │ │ ├── strings.xml │ │ │ │ ├── colors.xml │ │ │ │ └── styles.xml │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── menu │ │ │ │ └── menu_main.xml │ │ │ └── layout │ │ │ │ ├── content_main.xml │ │ │ │ └── activity_main.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── com │ │ │ └── androidleaf │ │ │ └── webviewdemo │ │ │ └── MainActivity.java │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── androidleaf │ │ │ └── webviewdemo │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── androidleaf │ │ └── webviewdemo │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── 01ActivityDemo ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── values │ │ │ │ ├── dimens.xml │ │ │ │ ├── colors.xml │ │ │ │ ├── strings.xml │ │ │ │ └── styles.xml │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── menu │ │ │ │ └── menu_main.xml │ │ │ └── layout │ │ │ │ ├── landscape_main.xml │ │ │ │ ├── main.xml │ │ │ │ ├── b_main.xml │ │ │ │ └── c_main.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── androidleaf │ │ │ │ └── activitydemo │ │ │ │ ├── BaseActivity.java │ │ │ │ ├── CActivity.java │ │ │ │ ├── BActivity.java │ │ │ │ └── AActivity.java │ │ └── AndroidManifest.xml │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── androidleaf │ │ │ └── activitydemo │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── androidleaf │ │ └── activitydemo │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── 01FragmentDemo ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── values │ │ │ │ ├── strings.xml │ │ │ │ ├── colors.xml │ │ │ │ ├── dimens.xml │ │ │ │ └── styles.xml │ │ │ ├── mipmap-hdpi │ │ │ │ ├── inchengdu.png │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── layout │ │ │ │ ├── activity_addbydynamic.xml │ │ │ │ ├── activity_articledetails_activity.xml │ │ │ │ ├── activity_lifecycle.xml │ │ │ │ ├── activity_examplefirst.xml │ │ │ │ ├── activity_adaptermobile_and_pad.xml │ │ │ │ ├── fragment_main.xml │ │ │ │ ├── fragment_lifecycle.xml │ │ │ │ ├── fragment_examplefirst.xml │ │ │ │ ├── fragment_activityforcallback_a.xml │ │ │ │ ├── fragment_addfragmentfirst.xml │ │ │ │ ├── fragment_addfragmentsecond.xml │ │ │ │ ├── fragment_addactionbar.xml │ │ │ │ ├── fragment_activityforcallback_b.xml │ │ │ │ ├── fragment_articledetails.xml │ │ │ │ ├── activity_addbystatic.xml │ │ │ │ ├── activity_addactionbar.xml │ │ │ │ ├── activity_activityforcallback.xml │ │ │ │ └── activity_main.xml │ │ │ ├── menu │ │ │ │ └── main.xml │ │ │ └── layout-land │ │ │ │ └── activity_adaptermobile_and_pad.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── androidleaf │ │ │ │ └── fragmentdemo │ │ │ │ ├── activity │ │ │ │ ├── LifeCycleActivity.java │ │ │ │ ├── ExampleFirstActivity.java │ │ │ │ ├── AddByStaticActivity.java │ │ │ │ ├── AdapterMobileAndPadActivity.java │ │ │ │ ├── AdapterArticleDetailActivity.java │ │ │ │ ├── ActivityForCallBackActivity.java │ │ │ │ ├── AddByDynamicActivity.java │ │ │ │ ├── AddActionBarForFragmentActivity.java │ │ │ │ └── MainActivity.java │ │ │ │ └── fragment │ │ │ │ ├── AddFragmentFirst.java │ │ │ │ ├── AddFragmentSecond.java │ │ │ │ ├── ActivityForCallBackFragmentB.java │ │ │ │ ├── ExampleFirstFragment.java │ │ │ │ ├── AdapterArticleDetailFragment.java │ │ │ │ ├── AddActionBarForFragment.java │ │ │ │ ├── LifeCycleFragment.java │ │ │ │ ├── ActivityForCallBackFragmentA.java │ │ │ │ └── AdapterArticleListFragment.java │ │ └── AndroidManifest.xml │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── androidleaf │ │ │ └── fragmentdemo │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── androidleaf │ │ └── fragmentdemo │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── 02ServiceDemo ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ ├── stat_sample.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── values │ │ │ │ ├── colors.xml │ │ │ │ ├── strings.xml │ │ │ │ └── styles.xml │ │ │ └── layout │ │ │ │ └── main.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── androidleaf │ │ │ │ └── servicedemo │ │ │ │ ├── service │ │ │ │ ├── MyIntentServiceExecuteDemo.java │ │ │ │ ├── MyServiceDemo.java │ │ │ │ ├── MyServiceExecuteDemo.java │ │ │ │ └── MessengerService.java │ │ │ │ └── MainActivity.java │ │ └── AndroidManifest.xml │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── androidleaf │ │ │ └── servicedemo │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── androidleaf │ │ └── servicedemo │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── RecyclerViewDemo ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── values │ │ │ │ ├── dimens.xml │ │ │ │ ├── strings.xml │ │ │ │ ├── colors.xml │ │ │ │ └── styles.xml │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── menu │ │ │ │ └── menu_main.xml │ │ │ └── layout │ │ │ │ ├── content_main.xml │ │ │ │ └── activity_main.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── com │ │ │ └── androidleaf │ │ │ └── blogsource │ │ │ └── MainActivity.java │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── androidleaf │ │ │ └── blogsource │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── androidleaf │ │ └── blogsource │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── .idea ├── copyright │ └── profiles_settings.xml ├── vcs.xml ├── encodings.xml ├── runConfigurations.xml ├── compiler.xml ├── gradle.xml ├── modules.xml └── misc.xml ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .gradle └── 3.3 │ ├── taskArtifacts │ ├── fileHashes.bin │ ├── fileSnapshots.bin │ ├── taskArtifacts.bin │ └── taskArtifacts.lock │ └── tasks │ └── _RecyclerViewDemo_compileDebugJavaWithJavac │ ├── localClassSetAnalysis │ ├── localClassSetAnalysis.bin │ └── localClassSetAnalysis.lock │ └── localJarClasspathSnapshot │ ├── localJarClasspathSnapshot.bin │ └── localJarClasspathSnapshot.lock ├── settings.gradle ├── .gitignore ├── local.properties ├── .gitattributes ├── gradle.properties ├── AndroidBlogSource.iml ├── gradlew.bat └── gradlew /PluginDemo/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /RxjavaDemo/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /WebviewDemo/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /01ActivityDemo/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /01FragmentDemo/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /02ServiceDemo/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /RecyclerViewDemo/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /PluginDemo/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 16dp 3 | 4 | -------------------------------------------------------------------------------- /RxjavaDemo/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 16dp 3 | 4 | -------------------------------------------------------------------------------- /WebviewDemo/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 16dp 3 | 4 | -------------------------------------------------------------------------------- /01ActivityDemo/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 16dp 3 | 4 | -------------------------------------------------------------------------------- /RecyclerViewDemo/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 16dp 3 | 4 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /01FragmentDemo/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 01FragmentDemo 3 | 4 | -------------------------------------------------------------------------------- /.gradle/3.3/taskArtifacts/fileHashes.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/.gradle/3.3/taskArtifacts/fileHashes.bin -------------------------------------------------------------------------------- /.gradle/3.3/taskArtifacts/fileSnapshots.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/.gradle/3.3/taskArtifacts/fileSnapshots.bin -------------------------------------------------------------------------------- /.gradle/3.3/taskArtifacts/taskArtifacts.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/.gradle/3.3/taskArtifacts/taskArtifacts.bin -------------------------------------------------------------------------------- /.gradle/3.3/taskArtifacts/taskArtifacts.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/.gradle/3.3/taskArtifacts/taskArtifacts.lock -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':RecyclerViewDemo', ':PluginDemo', ':WebviewDemo', ':RxjavaDemo', ':01ActivityDemo', ':01FragmentDemo', ':02ServiceDemo' 2 | -------------------------------------------------------------------------------- /PluginDemo/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/PluginDemo/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /PluginDemo/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/PluginDemo/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /RxjavaDemo/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/RxjavaDemo/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /RxjavaDemo/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/RxjavaDemo/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /01FragmentDemo/src/main/res/mipmap-hdpi/inchengdu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/01FragmentDemo/src/main/res/mipmap-hdpi/inchengdu.png -------------------------------------------------------------------------------- /02ServiceDemo/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/02ServiceDemo/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /02ServiceDemo/src/main/res/mipmap-hdpi/stat_sample.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/02ServiceDemo/src/main/res/mipmap-hdpi/stat_sample.png -------------------------------------------------------------------------------- /02ServiceDemo/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/02ServiceDemo/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /PluginDemo/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/PluginDemo/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /PluginDemo/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/PluginDemo/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /PluginDemo/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/PluginDemo/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /RxjavaDemo/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/RxjavaDemo/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /RxjavaDemo/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/RxjavaDemo/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /RxjavaDemo/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/RxjavaDemo/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /WebviewDemo/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/WebviewDemo/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /WebviewDemo/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/WebviewDemo/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /WebviewDemo/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/WebviewDemo/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /WebviewDemo/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/WebviewDemo/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /01ActivityDemo/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/01ActivityDemo/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /01ActivityDemo/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/01ActivityDemo/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /01ActivityDemo/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/01ActivityDemo/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /01FragmentDemo/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/01FragmentDemo/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /01FragmentDemo/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/01FragmentDemo/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /01FragmentDemo/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/01FragmentDemo/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /02ServiceDemo/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/02ServiceDemo/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /02ServiceDemo/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/02ServiceDemo/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /WebviewDemo/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/WebviewDemo/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | .externalNativeBuild 10 | -------------------------------------------------------------------------------- /01ActivityDemo/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/01ActivityDemo/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /01ActivityDemo/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/01ActivityDemo/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /01FragmentDemo/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/01FragmentDemo/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /01FragmentDemo/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/01FragmentDemo/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /02ServiceDemo/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/02ServiceDemo/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /PluginDemo/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/PluginDemo/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /PluginDemo/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/PluginDemo/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /PluginDemo/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/PluginDemo/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /PluginDemo/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/PluginDemo/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /RecyclerViewDemo/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/RecyclerViewDemo/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /RecyclerViewDemo/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/RecyclerViewDemo/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /RecyclerViewDemo/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/RecyclerViewDemo/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /RecyclerViewDemo/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/RecyclerViewDemo/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /RxjavaDemo/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/RxjavaDemo/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /RxjavaDemo/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/RxjavaDemo/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /RxjavaDemo/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/RxjavaDemo/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /RxjavaDemo/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/RxjavaDemo/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /WebviewDemo/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/WebviewDemo/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /WebviewDemo/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/WebviewDemo/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /WebviewDemo/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/WebviewDemo/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /01ActivityDemo/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/01ActivityDemo/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /01ActivityDemo/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/01ActivityDemo/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /01FragmentDemo/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/01FragmentDemo/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /01FragmentDemo/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/01FragmentDemo/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /02ServiceDemo/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/02ServiceDemo/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /02ServiceDemo/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/02ServiceDemo/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /02ServiceDemo/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/02ServiceDemo/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /PluginDemo/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/PluginDemo/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /RecyclerViewDemo/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/RecyclerViewDemo/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /RxjavaDemo/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/RxjavaDemo/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /WebviewDemo/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/WebviewDemo/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /WebviewDemo/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/WebviewDemo/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /01ActivityDemo/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/01ActivityDemo/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /01ActivityDemo/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/01ActivityDemo/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /01ActivityDemo/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/01ActivityDemo/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /01FragmentDemo/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/01FragmentDemo/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /01FragmentDemo/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/01FragmentDemo/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /01FragmentDemo/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/01FragmentDemo/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /02ServiceDemo/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/02ServiceDemo/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /02ServiceDemo/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/02ServiceDemo/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /PluginDemo/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | PluginDemo 3 | Settings 4 | 5 | -------------------------------------------------------------------------------- /RecyclerViewDemo/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/RecyclerViewDemo/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /RecyclerViewDemo/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/RecyclerViewDemo/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /RecyclerViewDemo/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/RecyclerViewDemo/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /RxjavaDemo/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | RxJavaDemo 3 | Settings 4 | 5 | -------------------------------------------------------------------------------- /WebviewDemo/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | WebViewDemo 3 | Settings 4 | 5 | -------------------------------------------------------------------------------- /RecyclerViewDemo/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/RecyclerViewDemo/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /RecyclerViewDemo/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/RecyclerViewDemo/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /RecyclerViewDemo/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | CSDNBlogSource 3 | Settings 4 | 5 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /PluginDemo/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /RxjavaDemo/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /.gradle/3.3/tasks/_RecyclerViewDemo_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/.gradle/3.3/tasks/_RecyclerViewDemo_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.bin -------------------------------------------------------------------------------- /01ActivityDemo/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /01FragmentDemo/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /02ServiceDemo/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /WebviewDemo/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /.gradle/3.3/tasks/_RecyclerViewDemo_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/.gradle/3.3/tasks/_RecyclerViewDemo_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.lock -------------------------------------------------------------------------------- /RecyclerViewDemo/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /01FragmentDemo/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /.gradle/3.3/tasks/_RecyclerViewDemo_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/.gradle/3.3/tasks/_RecyclerViewDemo_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.bin -------------------------------------------------------------------------------- /.gradle/3.3/tasks/_RecyclerViewDemo_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leafye/AndroidBlogSource/HEAD/.gradle/3.3/tasks/_RecyclerViewDemo_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.lock -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Mon Mar 13 22:09:55 CST 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 | -------------------------------------------------------------------------------- /02ServiceDemo/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 02ServiceDemo 3 | The service has started 4 | The service has stoped 5 | The Service label 6 | 7 | -------------------------------------------------------------------------------- /01FragmentDemo/src/main/res/layout/activity_addbydynamic.xml: -------------------------------------------------------------------------------- 1 | 9 | 10 | -------------------------------------------------------------------------------- /01ActivityDemo/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Hello World, AActivity! 4 | Hello World, BActivity! 5 | Hello World, CActivity! 6 | 7 | 01ActivityDemo 8 | Settings 9 | 10 | -------------------------------------------------------------------------------- /01FragmentDemo/src/main/res/layout/activity_articledetails_activity.xml: -------------------------------------------------------------------------------- 1 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /PluginDemo/src/main/res/menu/menu_main.xml: -------------------------------------------------------------------------------- 1 | 5 | 7 | 8 | -------------------------------------------------------------------------------- /RxjavaDemo/src/main/res/menu/menu_main.xml: -------------------------------------------------------------------------------- 1 | 5 | 7 | 8 | -------------------------------------------------------------------------------- /WebviewDemo/src/main/res/menu/menu_main.xml: -------------------------------------------------------------------------------- 1 | 5 | 7 | 8 | -------------------------------------------------------------------------------- /01ActivityDemo/src/main/res/menu/menu_main.xml: -------------------------------------------------------------------------------- 1 | 5 | 7 | 8 | -------------------------------------------------------------------------------- /02ServiceDemo/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /01FragmentDemo/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /local.properties: -------------------------------------------------------------------------------- 1 | ## This file is automatically generated by Android Studio. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file should *NOT* be checked into Version Control Systems, 5 | # as it contains information specific to your local configuration. 6 | # 7 | # Location of the SDK. This is only used by Gradle. 8 | # For customization when using a Version Control System, please read the 9 | # header note. 10 | sdk.dir=G\:\\DevelopmentSoftWare\\AndroidSDK -------------------------------------------------------------------------------- /01FragmentDemo/src/main/java/com/androidleaf/fragmentdemo/activity/LifeCycleActivity.java: -------------------------------------------------------------------------------- 1 | package com.androidleaf.fragmentdemo.activity; 2 | 3 | import android.app.Activity; 4 | import android.os.Bundle; 5 | 6 | public class LifeCycleActivity extends Activity { 7 | 8 | @Override 9 | protected void onCreate(Bundle savedInstanceState) { 10 | // TODO Auto-generated method stub 11 | super.onCreate(savedInstanceState); 12 | setContentView(R.layout.activity_lifecycle); 13 | 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /RecyclerViewDemo/src/main/res/menu/menu_main.xml: -------------------------------------------------------------------------------- 1 | 5 | 10 | 11 | -------------------------------------------------------------------------------- /01FragmentDemo/src/main/java/com/androidleaf/fragmentdemo/activity/ExampleFirstActivity.java: -------------------------------------------------------------------------------- 1 | package com.androidleaf.fragmentdemo.activity; 2 | 3 | import android.app.Activity; 4 | import android.os.Bundle; 5 | 6 | public class ExampleFirstActivity extends Activity { 7 | 8 | @Override 9 | protected void onCreate(Bundle savedInstanceState) { 10 | // TODO Auto-generated method stub 11 | super.onCreate(savedInstanceState); 12 | setContentView(R.layout.activity_examplefirst); 13 | 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /01ActivityDemo/src/main/java/com/androidleaf/activitydemo/BaseActivity.java: -------------------------------------------------------------------------------- 1 | package com.androidleaf.activitydemo; 2 | 3 | import android.app.Activity; 4 | import android.content.Intent; 5 | 6 | public class BaseActivity extends Activity { 7 | 8 | //��־tag 9 | public static final String TAG = "androidLeaf"; 10 | 11 | public void intentChange(Class mClass){ 12 | Intent mIntent = new Intent(); 13 | mIntent.setClass(getApplicationContext(), mClass); 14 | this.startActivity(mIntent); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /PluginDemo/src/test/java/com/androidleaf/plugindemo/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.androidleaf.plugindemo; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /RxjavaDemo/src/test/java/com/androidleaf/rxjavademo/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.androidleaf.rxjavademo; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /02ServiceDemo/src/test/java/com/androidleaf/servicedemo/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.androidleaf.servicedemo; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /RecyclerViewDemo/src/test/java/com/androidleaf/blogsource/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.androidleaf.blogsource; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /WebviewDemo/src/test/java/com/androidleaf/webviewdemo/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.androidleaf.webviewdemo; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /01ActivityDemo/src/main/res/layout/landscape_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 13 | 14 | -------------------------------------------------------------------------------- /01ActivityDemo/src/test/java/com/androidleaf/activitydemo/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.androidleaf.activitydemo; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /01FragmentDemo/src/test/java/com/androidleaf/fragmentdemo/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.androidleaf.fragmentdemo; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for Visual Studio 5 | *.cs diff=csharp 6 | *.sln merge=union 7 | *.csproj merge=union 8 | *.vbproj merge=union 9 | *.fsproj merge=union 10 | *.dbproj merge=union 11 | 12 | # Standard to msysgit 13 | *.doc diff=astextplain 14 | *.DOC diff=astextplain 15 | *.docx diff=astextplain 16 | *.DOCX diff=astextplain 17 | *.dot diff=astextplain 18 | *.DOT diff=astextplain 19 | *.pdf diff=astextplain 20 | *.PDF diff=astextplain 21 | *.rtf diff=astextplain 22 | *.RTF diff=astextplain 23 | -------------------------------------------------------------------------------- /01FragmentDemo/src/main/java/com/androidleaf/fragmentdemo/activity/AddByStaticActivity.java: -------------------------------------------------------------------------------- 1 | package com.androidleaf.fragmentdemo.activity; 2 | 3 | import android.app.Activity; 4 | import android.os.Bundle; 5 | 6 | /** 7 | * 8 | * @author AndroidLeaf 9 | * 静态添加Fragment 10 | * 11 | */ 12 | public class AddByStaticActivity extends Activity { 13 | 14 | @Override 15 | protected void onCreate(Bundle savedInstanceState) { 16 | // TODO Auto-generated method stub 17 | super.onCreate(savedInstanceState); 18 | setContentView(R.layout.activity_addbystatic); 19 | 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /01FragmentDemo/src/main/java/com/androidleaf/fragmentdemo/activity/AdapterMobileAndPadActivity.java: -------------------------------------------------------------------------------- 1 | package com.androidleaf.fragmentdemo.activity; 2 | 3 | import android.annotation.SuppressLint; 4 | import android.app.Activity; 5 | import android.os.Bundle; 6 | 7 | public class AdapterMobileAndPadActivity extends Activity{ 8 | 9 | @SuppressLint("NewApi") 10 | @Override 11 | protected void onCreate(Bundle savedInstanceState) { 12 | // TODO Auto-generated method stub 13 | super.onCreate(savedInstanceState); 14 | setContentView(R.layout.activity_adaptermobile_and_pad); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /01FragmentDemo/src/main/res/layout/activity_lifecycle.xml: -------------------------------------------------------------------------------- 1 | 8 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /01FragmentDemo/src/main/res/layout/activity_examplefirst.xml: -------------------------------------------------------------------------------- 1 | 8 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /01FragmentDemo/src/main/res/layout/activity_adaptermobile_and_pad.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /01FragmentDemo/src/main/res/layout/fragment_main.xml: -------------------------------------------------------------------------------- 1 | 10 | 11 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /01FragmentDemo/src/main/res/layout/fragment_lifecycle.xml: -------------------------------------------------------------------------------- 1 | 10 | 11 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /01FragmentDemo/src/main/res/layout/fragment_examplefirst.xml: -------------------------------------------------------------------------------- 1 | 10 | 11 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /01FragmentDemo/src/main/res/layout/fragment_activityforcallback_a.xml: -------------------------------------------------------------------------------- 1 | 11 | 16 | 17 | -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /01FragmentDemo/src/main/res/menu/main.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 11 | 17 | 18 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /PluginDemo/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 14 | 10 | 14 | 10 | 14 | 10 | 14 | 10 | 11 | 15 | 16 |