├── .gitignore ├── README.md ├── app ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── lonly │ │ └── example │ │ └── fragnmentinterfacedemo │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── com │ │ │ └── lonly │ │ │ └── example │ │ │ └── fragnmentinterfacedemo │ │ │ ├── BaseFragment.java │ │ │ ├── Fragment1.java │ │ │ ├── Fragment2.java │ │ │ ├── Fragment3.java │ │ │ ├── Fragment4.java │ │ │ ├── MainActivity.java │ │ │ ├── adapter │ │ │ └── MyPagerAdapter.java │ │ │ ├── function │ │ │ ├── Function.java │ │ │ ├── FunctionException.java │ │ │ ├── FunctionManager.java │ │ │ ├── FunctionNoParamNoResault.java │ │ │ ├── FunctionWithParamAndResult.java │ │ │ ├── FunctionWithParamOnly.java │ │ │ └── FunctionWithResultOnly.java │ │ │ └── infc │ │ │ └── Fragment4CallBack.java │ └── res │ │ ├── layout │ │ ├── activity_main.xml │ │ └── fragment_layout.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 │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── com │ └── lonly │ └── example │ └── fragnmentinterfacedemo │ └── ExampleUnitTest.java ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/README.md -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/app/.gitignore -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/app/build.gradle -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/app/proguard-rules.pro -------------------------------------------------------------------------------- /app/src/androidTest/java/com/lonly/example/fragnmentinterfacedemo/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/app/src/androidTest/java/com/lonly/example/fragnmentinterfacedemo/ExampleInstrumentedTest.java -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /app/src/main/java/com/lonly/example/fragnmentinterfacedemo/BaseFragment.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/app/src/main/java/com/lonly/example/fragnmentinterfacedemo/BaseFragment.java -------------------------------------------------------------------------------- /app/src/main/java/com/lonly/example/fragnmentinterfacedemo/Fragment1.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/app/src/main/java/com/lonly/example/fragnmentinterfacedemo/Fragment1.java -------------------------------------------------------------------------------- /app/src/main/java/com/lonly/example/fragnmentinterfacedemo/Fragment2.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/app/src/main/java/com/lonly/example/fragnmentinterfacedemo/Fragment2.java -------------------------------------------------------------------------------- /app/src/main/java/com/lonly/example/fragnmentinterfacedemo/Fragment3.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/app/src/main/java/com/lonly/example/fragnmentinterfacedemo/Fragment3.java -------------------------------------------------------------------------------- /app/src/main/java/com/lonly/example/fragnmentinterfacedemo/Fragment4.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/app/src/main/java/com/lonly/example/fragnmentinterfacedemo/Fragment4.java -------------------------------------------------------------------------------- /app/src/main/java/com/lonly/example/fragnmentinterfacedemo/MainActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/app/src/main/java/com/lonly/example/fragnmentinterfacedemo/MainActivity.java -------------------------------------------------------------------------------- /app/src/main/java/com/lonly/example/fragnmentinterfacedemo/adapter/MyPagerAdapter.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/app/src/main/java/com/lonly/example/fragnmentinterfacedemo/adapter/MyPagerAdapter.java -------------------------------------------------------------------------------- /app/src/main/java/com/lonly/example/fragnmentinterfacedemo/function/Function.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/app/src/main/java/com/lonly/example/fragnmentinterfacedemo/function/Function.java -------------------------------------------------------------------------------- /app/src/main/java/com/lonly/example/fragnmentinterfacedemo/function/FunctionException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/app/src/main/java/com/lonly/example/fragnmentinterfacedemo/function/FunctionException.java -------------------------------------------------------------------------------- /app/src/main/java/com/lonly/example/fragnmentinterfacedemo/function/FunctionManager.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/app/src/main/java/com/lonly/example/fragnmentinterfacedemo/function/FunctionManager.java -------------------------------------------------------------------------------- /app/src/main/java/com/lonly/example/fragnmentinterfacedemo/function/FunctionNoParamNoResault.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/app/src/main/java/com/lonly/example/fragnmentinterfacedemo/function/FunctionNoParamNoResault.java -------------------------------------------------------------------------------- /app/src/main/java/com/lonly/example/fragnmentinterfacedemo/function/FunctionWithParamAndResult.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/app/src/main/java/com/lonly/example/fragnmentinterfacedemo/function/FunctionWithParamAndResult.java -------------------------------------------------------------------------------- /app/src/main/java/com/lonly/example/fragnmentinterfacedemo/function/FunctionWithParamOnly.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/app/src/main/java/com/lonly/example/fragnmentinterfacedemo/function/FunctionWithParamOnly.java -------------------------------------------------------------------------------- /app/src/main/java/com/lonly/example/fragnmentinterfacedemo/function/FunctionWithResultOnly.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/app/src/main/java/com/lonly/example/fragnmentinterfacedemo/function/FunctionWithResultOnly.java -------------------------------------------------------------------------------- /app/src/main/java/com/lonly/example/fragnmentinterfacedemo/infc/Fragment4CallBack.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/app/src/main/java/com/lonly/example/fragnmentinterfacedemo/infc/Fragment4CallBack.java -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/app/src/main/res/layout/activity_main.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_layout.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/app/src/main/res/layout/fragment_layout.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/app/src/main/res/values/colors.xml -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/app/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /app/src/test/java/com/lonly/example/fragnmentinterfacedemo/ExampleUnitTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/app/src/test/java/com/lonly/example/fragnmentinterfacedemo/ExampleUnitTest.java -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/gradle.properties -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legallonly/FragnmentInterfaceDemo/HEAD/gradlew.bat -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | --------------------------------------------------------------------------------