├── app ├── .gitignore ├── src │ ├── main │ │ ├── ic_launcher-web.png │ │ ├── ic_launcher-web.webp │ │ ├── res │ │ │ ├── drawable-hdpi │ │ │ │ ├── login.webp │ │ │ │ ├── mainbg.webp │ │ │ │ ├── nature.webp │ │ │ │ ├── infintybg.webp │ │ │ │ ├── default_image.webp │ │ │ │ ├── setup_activity.webp │ │ │ │ └── white_xd_file_import.webp │ │ │ ├── drawable-mdpi │ │ │ │ ├── login.webp │ │ │ │ ├── mainbg.webp │ │ │ │ ├── nature.webp │ │ │ │ ├── bitmojibg.webp │ │ │ │ ├── infintybg.webp │ │ │ │ ├── default_image.webp │ │ │ │ ├── setup_activity.webp │ │ │ │ └── white_xd_file_import.webp │ │ │ ├── drawable-xhdpi │ │ │ │ ├── login.webp │ │ │ │ ├── mainbg.webp │ │ │ │ ├── nature.webp │ │ │ │ ├── bitmojibg.webp │ │ │ │ ├── infintybg.webp │ │ │ │ ├── default_image.png │ │ │ │ ├── setup_activity.webp │ │ │ │ └── white_xd_file_import.webp │ │ │ ├── drawable-xxhdpi │ │ │ │ ├── login.webp │ │ │ │ ├── mainbg.webp │ │ │ │ ├── nature.webp │ │ │ │ ├── bitmojibg.webp │ │ │ │ ├── infintybg.webp │ │ │ │ ├── default_image.webp │ │ │ │ ├── setup_activity.webp │ │ │ │ └── white_xd_file_import.webp │ │ │ ├── drawable-xxxhdpi │ │ │ │ ├── login.webp │ │ │ │ ├── mainbg.webp │ │ │ │ ├── nature.webp │ │ │ │ ├── bitmojibg.webp │ │ │ │ ├── infintybg.webp │ │ │ │ ├── default_image.webp │ │ │ │ ├── setup_activity.webp │ │ │ │ └── white_xd_file_import.webp │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_foreground.webp │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_foreground.webp │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_foreground.webp │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_foreground.webp │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_foreground.webp │ │ │ ├── values │ │ │ │ ├── ic_launcher_background.xml │ │ │ │ ├── colors.xml │ │ │ │ ├── styles.xml │ │ │ │ └── strings.xml │ │ │ ├── xml │ │ │ │ └── xml.xml │ │ │ ├── drawable │ │ │ │ ├── corner.xml │ │ │ │ ├── linearlayoutcornerraidus.xml │ │ │ │ ├── bitcardbg.xml │ │ │ │ ├── gradient_2.xml │ │ │ │ ├── gradient_3.xml │ │ │ │ ├── gradient_4.xml │ │ │ │ ├── gradient_5.xml │ │ │ │ ├── gradient_6.xml │ │ │ │ ├── counterbg.xml │ │ │ │ ├── gradient_1.xml │ │ │ │ ├── searchbg.xml │ │ │ │ ├── loginopc.xml │ │ │ │ ├── whitebg.xml │ │ │ │ ├── loginbutton.xml │ │ │ │ ├── hometoogle.xml │ │ │ │ ├── addfloat.xml │ │ │ │ ├── comment.xml │ │ │ │ ├── send.xml │ │ │ │ ├── hometoggleblack.xml │ │ │ │ ├── hometogglehite.xml │ │ │ │ ├── logina.xml │ │ │ │ ├── add_circle.xml │ │ │ │ ├── personclip.xml │ │ │ │ ├── emailclipart.xml │ │ │ │ ├── keyclipart.xml │ │ │ │ ├── profile.xml │ │ │ │ ├── eyespy.xml │ │ │ │ ├── water.xml │ │ │ │ ├── ic_block.xml │ │ │ │ ├── cameraclipart.xml │ │ │ │ ├── like.xml │ │ │ │ ├── gradient_list.xml │ │ │ │ ├── infinty.xml │ │ │ │ ├── ic_heart.xml │ │ │ │ ├── ic_leaf.xml │ │ │ │ ├── ic_maloik.xml │ │ │ │ ├── ic_recycler.xml │ │ │ │ ├── ic_xyx.xml │ │ │ │ ├── ic_multiple_users_silhouette.xml │ │ │ │ ├── ic_xoxo.xml │ │ │ │ ├── iosleaf.xml │ │ │ │ ├── ic_forest.xml │ │ │ │ ├── ic_logout.xml │ │ │ │ ├── ic_color_instaagram.xml │ │ │ │ └── ic_launcher_background.xml │ │ │ ├── mipmap-anydpi-v26 │ │ │ │ ├── ic_launcher.xml │ │ │ │ └── ic_launcher_round.xml │ │ │ └── layout │ │ │ │ ├── mainactivty.xml │ │ │ │ ├── fragment_home.xml │ │ │ │ ├── testlayout.xml │ │ │ │ ├── activity_groupzoom.xml │ │ │ │ ├── activity_eventzoom.xml │ │ │ │ ├── activity_eye.xml │ │ │ │ ├── image_item.xml │ │ │ │ ├── activity_eyezoom.xml │ │ │ │ ├── eventcard.xml │ │ │ │ ├── activity_group.xml │ │ │ │ ├── activity_events.xml │ │ │ │ ├── users.xml │ │ │ │ ├── activity_eyeupload.xml │ │ │ │ ├── activity_newpostactivity.xml │ │ │ │ ├── eyecard.xml │ │ │ │ ├── activity_setupactivity.xml │ │ │ │ ├── activity_block.xml │ │ │ │ ├── blog_item.xml │ │ │ │ ├── activity_main2.xml │ │ │ │ └── activity_registeractivity.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── logintest │ │ │ │ ├── Model.java │ │ │ │ ├── eventzoom.java │ │ │ │ ├── Upload.java │ │ │ │ ├── BlogPost.java │ │ │ │ ├── ViewHolder2.java │ │ │ │ ├── ViewHolder.java │ │ │ │ ├── tree.java │ │ │ │ ├── groupzoom.java │ │ │ │ ├── BlogRecyclerAdapter.java │ │ │ │ ├── eyezoom.java │ │ │ │ ├── HomeFragment.java │ │ │ │ ├── block.java │ │ │ │ ├── ImageAdapter.java │ │ │ │ ├── events.java │ │ │ │ ├── eye.java │ │ │ │ ├── Main2Activity.java │ │ │ │ ├── group.java │ │ │ │ ├── registeractivity.java │ │ │ │ └── home.java │ │ └── AndroidManifest.xml │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── example │ │ │ └── logintest │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── example │ │ └── logintest │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro ├── google-services.json └── build.gradle ├── settings.gradle ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .idea ├── dictionaries │ └── samx.xml ├── vcs.xml ├── misc.xml ├── runConfigurations.xml ├── gradle.xml ├── jarRepositories.xml ├── markdown-navigator.xml ├── codeStyles │ └── Project.xml └── markdown-navigator-enh.xml ├── .gitignore ├── README.md ├── gradle.properties ├── gradlew.bat └── gradlew /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | rootProject.name='logintest' 3 | -------------------------------------------------------------------------------- /app/src/main/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/ic_launcher-web.png -------------------------------------------------------------------------------- /app/src/main/ic_launcher-web.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/ic_launcher-web.webp -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/login.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/drawable-hdpi/login.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/login.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/drawable-mdpi/login.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/mainbg.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/drawable-hdpi/mainbg.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/nature.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/drawable-hdpi/nature.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/mainbg.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/drawable-mdpi/mainbg.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/nature.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/drawable-mdpi/nature.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/login.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/drawable-xhdpi/login.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/mainbg.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/drawable-xhdpi/mainbg.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/nature.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/drawable-xhdpi/nature.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/login.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/drawable-xxhdpi/login.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/mainbg.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/drawable-xxhdpi/mainbg.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/nature.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/drawable-xxhdpi/nature.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/login.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/drawable-xxxhdpi/login.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/infintybg.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/drawable-hdpi/infintybg.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/bitmojibg.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/drawable-mdpi/bitmojibg.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/infintybg.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/drawable-mdpi/infintybg.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/bitmojibg.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/drawable-xhdpi/bitmojibg.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/infintybg.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/drawable-xhdpi/infintybg.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/mainbg.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/drawable-xxxhdpi/mainbg.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/nature.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/drawable-xxxhdpi/nature.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/default_image.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/drawable-hdpi/default_image.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/default_image.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/drawable-mdpi/default_image.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/default_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/drawable-xhdpi/default_image.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/bitmojibg.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/drawable-xxhdpi/bitmojibg.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/infintybg.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/drawable-xxhdpi/infintybg.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/bitmojibg.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/drawable-xxxhdpi/bitmojibg.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/infintybg.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/drawable-xxxhdpi/infintybg.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/setup_activity.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/drawable-hdpi/setup_activity.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/setup_activity.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/drawable-mdpi/setup_activity.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/setup_activity.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/drawable-xhdpi/setup_activity.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/default_image.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/drawable-xxhdpi/default_image.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/setup_activity.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/drawable-xxhdpi/setup_activity.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/default_image.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/drawable-xxxhdpi/default_image.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/setup_activity.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/drawable-xxxhdpi/setup_activity.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/white_xd_file_import.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/drawable-hdpi/white_xd_file_import.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/white_xd_file_import.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/drawable-mdpi/white_xd_file_import.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/white_xd_file_import.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/drawable-xhdpi/white_xd_file_import.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/white_xd_file_import.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/drawable-xxhdpi/white_xd_file_import.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/white_xd_file_import.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/drawable-xxxhdpi/white_xd_file_import.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ungaaaabungaaa/damn/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.webp -------------------------------------------------------------------------------- /app/src/main/res/values/ic_launcher_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #000000 4 | -------------------------------------------------------------------------------- /.idea/dictionaries/samx.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | pornogrphy 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/xml/xml.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/corner.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #000 4 | #000 5 | #1DB954 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/linearlayoutcornerraidus.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/bitcardbg.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | .cxx 15 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/gradient_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/gradient_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/gradient_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/gradient_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/gradient_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri May 29 23:25:32 IST 2020 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-6.1.1-all.zip 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/counterbg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/gradient_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/searchbg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/loginopc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/whitebg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/loginbutton.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/layout/mainactivty.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/hometoogle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/addfloat.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/comment.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/send.xml: -------------------------------------------------------------------------------- 1 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/hometoggleblack.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 10 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/hometogglehite.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 10 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/logina.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/add_circle.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/personclip.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/emailclipart.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/test/java/com/example/logintest/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.example.logintest; 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() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /app/src/main/res/drawable/keyclipart.xml: -------------------------------------------------------------------------------- 1 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/profile.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/eyespy.xml: -------------------------------------------------------------------------------- 1 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/water.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # damn 2 | damn app 3 | next gen social media platform for highschool 4 | ![alt text](https://i.imgur.com/4dHqWkF.png) 5 | Firebase authentication 6 | ![alt text](https://i.imgur.com/gnNF5ab.png) 7 | instagram group stoies with on click 8 | ![alt text](https://i.imgur.com/MXx3D7n.png) 9 | face stagred recyler view with on click listner 10 | ![alt text](https://i.imgur.com/pfRJFYC.png) 11 | Tree plant counter 12 | ![alt text](https://i.imgur.com/tah2ylx.png) 13 | account block page 14 | ![alt text](https://i.imgur.com/p00jdRI.png) 15 | Events around you 16 | ![alt text](https://i.imgur.com/OKWwH1f.png) 17 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_block.xml: -------------------------------------------------------------------------------- 1 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/cameraclipart.xml: -------------------------------------------------------------------------------- 1 | 7 | 10 | 13 | 14 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/like.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/logintest/Model.java: -------------------------------------------------------------------------------- 1 | package com.example.logintest; 2 | 3 | public class Model { 4 | 5 | String title, image, description; 6 | 7 | 8 | public Model(){} 9 | 10 | 11 | public String getTitle() { 12 | return title; 13 | } 14 | 15 | public void setTitle(String title) { 16 | this.title = title; 17 | } 18 | 19 | public String getImage() { 20 | return image; 21 | } 22 | 23 | public void setImage(String image) { 24 | this.image = image; 25 | } 26 | 27 | public String getDescription() { 28 | return description; 29 | } 30 | 31 | public void setDescription(String description) { 32 | this.description = description; 33 | } 34 | 35 | } 36 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/gradient_list.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 9 | 10 | 12 | 13 | 15 | 16 | 18 | 19 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_home.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 20 | 21 | -------------------------------------------------------------------------------- /app/src/androidTest/java/com/example/logintest/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package com.example.logintest; 2 | 3 | import android.content.Context; 4 | import androidx.test.platform.app.InstrumentationRegistry; 5 | import androidx.test.ext.junit.runners.AndroidJUnit4; 6 | 7 | import org.junit.Test; 8 | import org.junit.runner.RunWith; 9 | 10 | import static org.junit.Assert.*; 11 | 12 | /** 13 | * Instrumented test, which will execute on an Android device. 14 | * 15 | * @see Testing documentation 16 | */ 17 | @RunWith(AndroidJUnit4.class) 18 | public class ExampleInstrumentedTest { 19 | @Test 20 | public void useAppContext() { 21 | // Context of the app under test. 22 | Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); 23 | 24 | assertEquals("com.example.logintest", appContext.getPackageName()); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/infinty.xml: -------------------------------------------------------------------------------- 1 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/logintest/eventzoom.java: -------------------------------------------------------------------------------- 1 | package com.example.logintest; 2 | 3 | import android.content.Intent; 4 | import android.os.Bundle; 5 | import android.widget.ImageView; 6 | import androidx.appcompat.app.AppCompatActivity; 7 | import com.squareup.picasso.Picasso; 8 | 9 | public class eventzoom extends AppCompatActivity { 10 | ImageView imageView; 11 | @Override 12 | protected void onCreate(Bundle savedInstanceState) { 13 | super.onCreate(savedInstanceState); 14 | setContentView(R.layout.activity_eventzoom); 15 | imageView=findViewById(R.id.zoom); 16 | Bundle bundle2=getIntent().getExtras(); 17 | if(bundle2!=null){ 18 | Picasso.get().load( bundle2.getString( "eye")).into(imageView); 19 | } 20 | else { 21 | Intent intent = new Intent(this, eye.class); 22 | startActivity(intent); 23 | finish(); 24 | } 25 | } 26 | 27 | } -------------------------------------------------------------------------------- /app/src/main/res/layout/testlayout.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 15 | 16 | 17 | 22 | 23 | 26 | 27 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_heart.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Damn 3 | Enter Valid Name 4 | Enter Valid Insta_id 5 | Enter Some Password 6 | Enter Valid Mobile Number 7 | Caption... 8 | Report 9 | Attach Screenshot 10 | Content 11 | High Lights 12 | Events 13 | 14 | 15 | Hello blank fragment 16 | Revenue Donation 17 | Tap To know More 18 | Views On Your Recent post 19 | Restart 20 | 21 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/logintest/Upload.java: -------------------------------------------------------------------------------- 1 | package com.example.logintest; 2 | 3 | import com.google.firebase.database.Exclude; 4 | 5 | public class Upload { 6 | private String mName; 7 | private String mImageUrl; 8 | private String mKey; 9 | 10 | public Upload() { 11 | 12 | } 13 | 14 | public Upload(String name, String imageUrl) { 15 | if (name.trim().equals("")) { 16 | name = "No Name"; 17 | } 18 | 19 | mName = name; 20 | mImageUrl = imageUrl; 21 | } 22 | 23 | public String getName() { 24 | return mName; 25 | } 26 | 27 | public void setName(String name) { 28 | mName = name; 29 | } 30 | 31 | public String getImageUrl() { 32 | return mImageUrl; 33 | } 34 | 35 | public void setImageUrl(String imageUrl) { 36 | mImageUrl = imageUrl; 37 | } 38 | @Exclude 39 | public String getKey() { 40 | return mKey; 41 | } 42 | @Exclude 43 | public void setKey(String key) { 44 | mKey = key; 45 | } 46 | 47 | 48 | 49 | } 50 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_leaf.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_groupzoom.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 11 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_eventzoom.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 11 | 12 | 13 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | org.gradle.jvmargs=-Xmx1536m 13 | 14 | # When configured, Gradle will run in incubating parallel mode. 15 | # This option should only be used with decoupled projects. More details, visit 16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 17 | # org.gradle.parallel=true 18 | 19 | # AndroidX package structure to make it clearer which packages are bundled with the 20 | # Android operating system, and which are packaged with your app's APK 21 | # https://developer.android.com/topic/libraries/support-library/androidx-rn 22 | android.useAndroidX=true 23 | # Automatically convert third-party libraries to use AndroidX 24 | android.enableJetifier=true 25 | 26 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_eye.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 15 | 16 | 27 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_maloik.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/layout/image_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 16 | 25 | 31 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_recycler.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 12 | 15 | 18 | 21 | 24 | 25 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_xyx.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 12 | 15 | 16 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/logintest/BlogPost.java: -------------------------------------------------------------------------------- 1 | package com.example.logintest; 2 | 3 | import java.util.Date; 4 | 5 | public class BlogPost { 6 | public String user_id, image_url, desc, image_thumb; 7 | public Date timestamp; 8 | 9 | 10 | public BlogPost() {} 11 | 12 | public BlogPost(String user_id, String image_url, String desc, String image_thumb, Date timestamp) { 13 | this.user_id = user_id; 14 | this.image_url = image_url; 15 | this.desc = desc; 16 | this.image_thumb = image_thumb; 17 | this.timestamp = timestamp; 18 | } 19 | 20 | public String getUser_id() { 21 | return user_id; 22 | } 23 | 24 | public void setUser_id(String user_id) { 25 | this.user_id = user_id; 26 | } 27 | 28 | public String getImage_url() { 29 | return image_url; 30 | } 31 | 32 | public void setImage_url(String image_url) { 33 | this.image_url = image_url; 34 | } 35 | 36 | public String getDesc() { 37 | return desc; 38 | } 39 | 40 | public void setDesc(String desc) { 41 | this.desc = desc; 42 | } 43 | 44 | public String getImage_thumb() { 45 | return image_thumb; 46 | } 47 | 48 | public void setImage_thumb(String image_thumb) { 49 | this.image_thumb = image_thumb; 50 | } 51 | 52 | public Date getTimestamp() { 53 | return timestamp; 54 | } 55 | 56 | public void setTimestamp(Date timestamp) { 57 | this.timestamp = timestamp; 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/logintest/ViewHolder2.java: -------------------------------------------------------------------------------- 1 | package com.example.logintest; 2 | 3 | import android.content.Context; 4 | import android.content.Intent; 5 | import android.view.View; 6 | import android.widget.ImageView; 7 | import android.widget.TextView; 8 | import androidx.annotation.NonNull; 9 | import androidx.recyclerview.widget.RecyclerView; 10 | import com.squareup.picasso.Picasso; 11 | 12 | public class ViewHolder2 extends RecyclerView.ViewHolder { 13 | View mView; 14 | public ViewHolder2(@NonNull View itemView) { 15 | super( itemView ); 16 | mView = itemView; 17 | } 18 | 19 | public void setDetails(final Context ctx, String title, final String description, final String image) { 20 | TextView mTitleTv = mView.findViewById(R.id.text_view_name ); 21 | TextView mDetailTv = mView.findViewById(R.id.rDescriptionTv ); 22 | ImageView mImageIv = mView.findViewById(R.id.image_view_upload ); 23 | mTitleTv.setText(title); 24 | mDetailTv.setText(description); 25 | Picasso.get().load(image).into(mImageIv); 26 | mImageIv.setOnClickListener(new View.OnClickListener() { 27 | @Override 28 | public void onClick(View v) { 29 | Intent intent =new Intent(ctx,eyezoom.class); 30 | intent.putExtra("event",image); 31 | intent.putExtra( "des",description); 32 | intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 33 | ctx.startActivity(intent); 34 | } 35 | } ); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /app/google-services.json: -------------------------------------------------------------------------------- 1 | { 2 | "project_info": { 3 | "project_number": "797954989797", 4 | "firebase_url": "https://logintest-cc637.firebaseio.com", 5 | "project_id": "logintest-cc637", 6 | "storage_bucket": "logintest-cc637.appspot.com" 7 | }, 8 | "client": [ 9 | { 10 | "client_info": { 11 | "mobilesdk_app_id": "1:797954989797:android:0080c152d150bf2a143e0c", 12 | "android_client_info": { 13 | "package_name": "com.example.logintest" 14 | } 15 | }, 16 | "oauth_client": [ 17 | { 18 | "client_id": "797954989797-2t17qtpf38tm5ajl7r5f8t1jss0eim6n.apps.googleusercontent.com", 19 | "client_type": 1, 20 | "android_info": { 21 | "package_name": "com.example.logintest", 22 | "certificate_hash": "1166eb619167f98c6765f873d30b7d579e2d4373" 23 | } 24 | }, 25 | { 26 | "client_id": "797954989797-qbq5i7gnvubv2tl69r73chq4vrkqecaq.apps.googleusercontent.com", 27 | "client_type": 3 28 | } 29 | ], 30 | "api_key": [ 31 | { 32 | "current_key": "AIzaSyDgse1DXjVElWkwce5tARZibwSEP5XZMcY" 33 | } 34 | ], 35 | "services": { 36 | "appinvite_service": { 37 | "other_platform_oauth_client": [ 38 | { 39 | "client_id": "797954989797-qbq5i7gnvubv2tl69r73chq4vrkqecaq.apps.googleusercontent.com", 40 | "client_type": 3 41 | } 42 | ] 43 | } 44 | } 45 | } 46 | ], 47 | "configuration_version": "1" 48 | } -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_multiple_users_silhouette.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_eyezoom.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 23 | 24 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/logintest/ViewHolder.java: -------------------------------------------------------------------------------- 1 | package com.example.logintest; 2 | 3 | import android.content.Context; 4 | import android.content.Intent; 5 | import android.view.View; 6 | import android.widget.ImageView; 7 | import android.widget.TextView; 8 | import androidx.annotation.NonNull; 9 | import androidx.cardview.widget.CardView; 10 | import androidx.recyclerview.widget.RecyclerView; 11 | import com.squareup.picasso.Picasso; 12 | 13 | public class ViewHolder extends RecyclerView.ViewHolder { 14 | View mView; 15 | public ViewHolder(@NonNull View itemView) { 16 | super(itemView); 17 | mView = itemView; 18 | } 19 | public void setDetails(final Context ctx, String title, String description, final String image) { 20 | TextView mTitleTv = mView.findViewById(R.id.text_view_name ); 21 | TextView mDetailTv = mView.findViewById(R.id.rDescriptionTv ); 22 | ImageView mImageIv = mView.findViewById(R.id.image_view_upload ); 23 | CardView cardView =mView.findViewById( R.id.cardgroup ); 24 | mTitleTv.setText(title); 25 | mDetailTv.setText(description); 26 | Picasso.get().load(image).into(mImageIv); 27 | cardView.setOnClickListener( new View.OnClickListener() { 28 | @Override 29 | public void onClick(View v) { 30 | Intent intent =new Intent(ctx,groupzoom.class); 31 | intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 32 | intent.putExtra("gp",image); 33 | ctx.startActivity(intent); 34 | 35 | 36 | } 37 | } ); 38 | } 39 | } 40 | 41 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/logintest/tree.java: -------------------------------------------------------------------------------- 1 | package com.example.logintest; 2 | import android.os.Bundle; 3 | import android.widget.Toast; 4 | import androidx.appcompat.app.AppCompatActivity; 5 | import com.daimajia.androidanimations.library.Techniques; 6 | import com.daimajia.androidanimations.library.YoYo; 7 | import com.droidnet.DroidListener; 8 | import com.droidnet.DroidNet; 9 | 10 | 11 | 12 | public class tree extends AppCompatActivity implements DroidListener { 13 | private DroidNet mDroidNet; 14 | @Override 15 | protected void onCreate(Bundle savedInstanceState) { 16 | super.onCreate(savedInstanceState); 17 | setContentView(R.layout.activity_tree); 18 | DroidNet.init(tree.this); 19 | mDroidNet = DroidNet.getInstance(); 20 | mDroidNet.addInternetConnectivityListener(tree.this); 21 | YoYo.with(Techniques.Shake) 22 | .duration(650) 23 | .repeat(1) 24 | .playOn(findViewById(R.id.treescroll)); 25 | } 26 | 27 | 28 | @Override 29 | public void onInternetConnectivityChanged(boolean isConnected) { 30 | if (isConnected) { 31 | netIsOn(); 32 | } else { 33 | netIsOff(); 34 | } 35 | } 36 | 37 | 38 | private void netIsOn(){ 39 | } 40 | 41 | private void netIsOff(){ 42 | Toast toast = Toast.makeText(tree.this, " No internet ", Toast.LENGTH_LONG); 43 | toast.show(); 44 | } 45 | 46 | @Override 47 | protected void onDestroy() { 48 | super.onDestroy(); 49 | mDroidNet.removeInternetConnectivityChangeListener(tree.this); 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /.idea/jarRepositories.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 9 | 10 | 14 | 15 | 19 | 20 | 24 | 25 | 29 | 30 | 34 | 35 | 39 | 40 | -------------------------------------------------------------------------------- /app/src/main/res/layout/eventcard.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 13 | 19 | 29 | 38 | 39 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_xoxo.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/iosleaf.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/logintest/groupzoom.java: -------------------------------------------------------------------------------- 1 | package com.example.logintest; 2 | 3 | import android.content.Intent; 4 | import android.os.Bundle; 5 | import android.widget.ImageView; 6 | import android.widget.Toast; 7 | 8 | import androidx.appcompat.app.AppCompatActivity; 9 | 10 | import com.droidnet.DroidListener; 11 | import com.droidnet.DroidNet; 12 | import com.squareup.picasso.Picasso; 13 | 14 | public class groupzoom extends AppCompatActivity implements DroidListener { 15 | ImageView imageView; 16 | private DroidNet mDroidNet; 17 | 18 | @Override 19 | protected void onCreate(Bundle savedInstanceState) { 20 | super.onCreate( savedInstanceState ); 21 | setContentView( R.layout.activity_groupzoom ); 22 | DroidNet.init(groupzoom.this); 23 | mDroidNet = DroidNet.getInstance(); 24 | mDroidNet.addInternetConnectivityListener(groupzoom.this); 25 | imageView=findViewById(R.id.zoom); 26 | Bundle bundle1=getIntent().getExtras(); 27 | if (bundle1!=null){ 28 | Picasso.get().load( bundle1.getString( "gp" )).into(imageView); 29 | } 30 | else { 31 | Intent intent = new Intent(this, group.class); 32 | startActivity(intent); 33 | finish(); 34 | } 35 | } 36 | 37 | 38 | @Override 39 | public void onInternetConnectivityChanged(boolean isConnected) { 40 | if (isConnected) { 41 | netIsOn(); 42 | } else { 43 | netIsOff(); 44 | } 45 | } 46 | 47 | 48 | private void netIsOn(){ 49 | 50 | } 51 | 52 | private void netIsOff(){ 53 | Toast toast = Toast.makeText(groupzoom.this, " No internet ", Toast.LENGTH_LONG); 54 | toast.show(); 55 | } 56 | 57 | 58 | @Override 59 | protected void onDestroy() { 60 | super.onDestroy(); 61 | mDroidNet.removeInternetConnectivityChangeListener(groupzoom.this); 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/logintest/BlogRecyclerAdapter.java: -------------------------------------------------------------------------------- 1 | package com.example.logintest; 2 | 3 | import android.content.Context; 4 | import android.view.LayoutInflater; 5 | import android.view.View; 6 | import android.view.ViewGroup; 7 | import android.widget.TextView; 8 | import androidx.annotation.NonNull; 9 | import androidx.recyclerview.widget.RecyclerView; 10 | import com.google.firebase.auth.FirebaseAuth; 11 | import com.google.firebase.firestore.FirebaseFirestore; 12 | 13 | import java.util.List; 14 | 15 | public class BlogRecyclerAdapter extends RecyclerView.Adapter { 16 | 17 | public List blog_list; 18 | public Context context; 19 | private FirebaseFirestore firebaseFirestore; 20 | private FirebaseAuth firebaseAuth; 21 | 22 | public BlogRecyclerAdapter(List blog_list){ 23 | this.blog_list = blog_list; 24 | } 25 | 26 | @NonNull 27 | @Override 28 | public ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) { 29 | View view=LayoutInflater.from(parent.getContext()).inflate(R.layout.blog_item, parent ,false); 30 | return new ViewHolder(view); 31 | 32 | } 33 | 34 | @Override 35 | public void onBindViewHolder(@NonNull ViewHolder holder, int position) { 36 | String desc_data =blog_list.get( position ).getDesc(); 37 | holder.setDestext(desc_data); 38 | } 39 | 40 | @Override 41 | public int getItemCount() { 42 | return blog_list.size(); 43 | } 44 | 45 | public class ViewHolder extends RecyclerView.ViewHolder{ 46 | private TextView descview; 47 | private View mview; 48 | 49 | 50 | public ViewHolder(@NonNull View itemView) { 51 | super( itemView ); 52 | mview=itemView; 53 | } 54 | 55 | public void setDestext(String desctext) 56 | { 57 | descview=itemView.findViewById(R.id.blog_desc); 58 | descview.setText(desctext); 59 | } 60 | 61 | } 62 | 63 | } 64 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_forest.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 12 | 15 | 18 | 21 | 24 | 25 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_logout.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 12 | 15 | 18 | 21 | 22 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_group.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 13 | 14 | 29 | 36 | 50 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/logintest/eyezoom.java: -------------------------------------------------------------------------------- 1 | package com.example.logintest; 2 | 3 | import android.content.Intent; 4 | import android.os.Bundle; 5 | import android.view.View; 6 | import android.widget.ImageView; 7 | import android.widget.TextView; 8 | import android.widget.Toast; 9 | 10 | import androidx.appcompat.app.AppCompatActivity; 11 | 12 | import com.droidnet.DroidListener; 13 | import com.droidnet.DroidNet; 14 | import com.squareup.picasso.Picasso; 15 | public class eyezoom extends AppCompatActivity implements DroidListener { 16 | ImageView imageView; 17 | TextView textView; 18 | private DroidNet mDroidNet; 19 | 20 | @Override 21 | protected void onCreate(Bundle savedInstanceState) { 22 | super.onCreate( savedInstanceState ); 23 | setContentView( R.layout.activity_eyezoom ); 24 | DroidNet.init(eyezoom.this); 25 | mDroidNet = DroidNet.getInstance(); 26 | mDroidNet.addInternetConnectivityListener(eyezoom.this); 27 | imageView=findViewById(R.id.zoom); 28 | textView=findViewById(R.id.textView); 29 | textView.setVisibility(View.INVISIBLE); 30 | Bundle bundle2=getIntent().getExtras(); 31 | if(bundle2!=null){ 32 | Picasso.get().load( bundle2.getString( "event")).into(imageView); 33 | textView.setVisibility(View.VISIBLE); 34 | textView.setText( bundle2.getString( "des")); 35 | } 36 | else { 37 | Intent intent = new Intent(this, events.class); 38 | startActivity(intent); 39 | finish(); 40 | } 41 | } 42 | 43 | 44 | @Override 45 | public void onInternetConnectivityChanged(boolean isConnected) { 46 | if (isConnected) { 47 | //do Stuff with internet 48 | netIsOn(); 49 | } else { 50 | //no internet 51 | netIsOff(); 52 | } 53 | } 54 | 55 | 56 | private void netIsOn(){ 57 | 58 | 59 | 60 | 61 | } 62 | 63 | private void netIsOff(){ 64 | Toast toast = Toast.makeText(eyezoom.this, " No internet ", Toast.LENGTH_LONG); 65 | toast.show(); 66 | } 67 | 68 | 69 | @Override 70 | protected void onDestroy() { 71 | super.onDestroy(); 72 | mDroidNet.removeInternetConnectivityChangeListener(eyezoom.this); 73 | } 74 | } 75 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_events.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 17 | 22 | 23 | 24 | 30 | 31 | 35 | 40 | 41 | 42 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /app/src/main/res/layout/users.xml: -------------------------------------------------------------------------------- 1 | 2 | 15 | 18 | 27 | 37 | 38 | 51 | 52 | 53 | -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- 1 | @if "%DEBUG%" == "" @echo off 2 | @rem ########################################################################## 3 | @rem 4 | @rem Gradle startup script for Windows 5 | @rem 6 | @rem ########################################################################## 7 | 8 | @rem Set local scope for the variables with windows NT shell 9 | if "%OS%"=="Windows_NT" setlocal 10 | 11 | set DIRNAME=%~dp0 12 | if "%DIRNAME%" == "" set DIRNAME=. 13 | set APP_BASE_NAME=%~n0 14 | set APP_HOME=%DIRNAME% 15 | 16 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 17 | set DEFAULT_JVM_OPTS= 18 | 19 | @rem Find java.exe 20 | if defined JAVA_HOME goto findJavaFromJavaHome 21 | 22 | set JAVA_EXE=java.exe 23 | %JAVA_EXE% -version >NUL 2>&1 24 | if "%ERRORLEVEL%" == "0" goto init 25 | 26 | echo. 27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 28 | echo. 29 | echo Please set the JAVA_HOME variable in your environment to match the 30 | echo location of your Java installation. 31 | 32 | goto fail 33 | 34 | :findJavaFromJavaHome 35 | set JAVA_HOME=%JAVA_HOME:"=% 36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 37 | 38 | if exist "%JAVA_EXE%" goto init 39 | 40 | echo. 41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 42 | echo. 43 | echo Please set the JAVA_HOME variable in your environment to match the 44 | echo location of your Java installation. 45 | 46 | goto fail 47 | 48 | :init 49 | @rem Get command-line arguments, handling Windows variants 50 | 51 | if not "%OS%" == "Windows_NT" goto win9xME_args 52 | 53 | :win9xME_args 54 | @rem Slurp the command line arguments. 55 | set CMD_LINE_ARGS= 56 | set _SKIP=2 57 | 58 | :win9xME_args_slurp 59 | if "x%~1" == "x" goto execute 60 | 61 | set CMD_LINE_ARGS=%* 62 | 63 | :execute 64 | @rem Setup the command line 65 | 66 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 67 | 68 | @rem Execute Gradle 69 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 70 | 71 | :end 72 | @rem End local scope for the variables with windows NT shell 73 | if "%ERRORLEVEL%"=="0" goto mainEnd 74 | 75 | :fail 76 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 77 | rem the _cmd.exe /c_ return code! 78 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 79 | exit /b 1 80 | 81 | :mainEnd 82 | if "%OS%"=="Windows_NT" endlocal 83 | 84 | :omega 85 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_color_instaagram.xml: -------------------------------------------------------------------------------- 1 | 7 | 9 | 10 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 24 | 25 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 39 | 40 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/logintest/HomeFragment.java: -------------------------------------------------------------------------------- 1 | package com.example.logintest; 2 | 3 | import android.os.Bundle; 4 | 5 | import androidx.annotation.Nullable; 6 | import androidx.fragment.app.Fragment; 7 | import androidx.recyclerview.widget.LinearLayoutManager; 8 | import androidx.recyclerview.widget.RecyclerView; 9 | import android.view.LayoutInflater; 10 | import android.view.View; 11 | import android.view.ViewGroup; 12 | import com.google.firebase.auth.FirebaseAuth; 13 | import com.google.firebase.firestore.DocumentChange; 14 | import com.google.firebase.firestore.DocumentSnapshot; 15 | import com.google.firebase.firestore.EventListener; 16 | import com.google.firebase.firestore.FirebaseFirestore; 17 | import com.google.firebase.firestore.FirebaseFirestoreException; 18 | import com.google.firebase.firestore.QuerySnapshot; 19 | import java.util.ArrayList; 20 | import java.util.List; 21 | 22 | 23 | /** 24 | * A simple {@link Fragment} subclass. 25 | */ 26 | public class HomeFragment extends Fragment { 27 | 28 | private RecyclerView blog_list_view; 29 | private List blog_list; 30 | private FirebaseFirestore firebaseFirestore; 31 | private FirebaseAuth firebaseAuth; 32 | private BlogRecyclerAdapter blogRecyclerAdapter; 33 | private DocumentSnapshot lastVisible; 34 | private Boolean isFirstPageFirstLoad = true; 35 | public HomeFragment() { 36 | // Required empty public constructor 37 | } 38 | @Override 39 | public View onCreateView(LayoutInflater inflater, ViewGroup container, 40 | Bundle savedInstanceState) { 41 | View view =inflater.inflate( R.layout.fragment_home, container, false ); 42 | blog_list = new ArrayList<>(); 43 | blog_list_view= view.findViewById(R.id.blog_list_view); 44 | firebaseFirestore =FirebaseFirestore.getInstance(); 45 | blogRecyclerAdapter=new BlogRecyclerAdapter(blog_list); 46 | blog_list_view.setLayoutManager( new LinearLayoutManager(getActivity())); 47 | blog_list_view.setAdapter(blogRecyclerAdapter); 48 | firebaseFirestore.collection( "all" ).addSnapshotListener( new EventListener() { 49 | @Override 50 | public void onEvent(@Nullable QuerySnapshot documentSnapshots, @Nullable FirebaseFirestoreException e) { 51 | for (DocumentChange doc : documentSnapshots.getDocumentChanges()) { 52 | if(doc.getType()== DocumentChange.Type.ADDED){ 53 | BlogPost blogPost= doc.getDocument().toObject(BlogPost.class); 54 | blog_list.add(blogPost); 55 | blogRecyclerAdapter.notifyDataSetChanged(); 56 | 57 | } 58 | } 59 | } 60 | } ); 61 | return view; 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_eyeupload.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 18 | 35 | 36 | 47 | 48 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_newpostactivity.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 20 | 21 | 38 | 50 | 51 | 63 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | apply plugin: 'com.google.gms.google-services' 3 | 4 | 5 | android { 6 | compileSdkVersion 29 7 | buildToolsVersion "29.0.2" 8 | defaultConfig { 9 | applicationId "com.example.logintest" 10 | minSdkVersion 21 11 | targetSdkVersion 29 12 | versionCode 1 13 | versionName "1.0" 14 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 15 | } 16 | buildTypes { 17 | release { 18 | minifyEnabled false 19 | shrinkResources false 20 | proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' 21 | } 22 | 23 | } 24 | } 25 | dependencies { 26 | implementation fileTree(dir: 'libs', include: ['*.jar']) 27 | implementation 'androidx.appcompat:appcompat:1.1.0' 28 | implementation 'com.agilie:interface-interaction:1.0' 29 | implementation 'com.squareup.picasso:picasso:2.71828' 30 | implementation 'de.hdodenhof:circleimageview:3.0.1' //circle view 31 | implementation 'com.jsibbold:zoomage:1.3.0-SNAPSHOT' // zoom in library 32 | implementation 'com.google.firebase:firebase-storage:19.1.1' //firestorage 33 | implementation 'com.google.firebase:firebase-firestore:21.4.3' //firestore 34 | implementation 'com.github.gabrielemariotti.recyclerview:recyclerview-animators:0.3.0-SNAPSHOT@aar' 35 | implementation 'com.firebaseui:firebase-ui-database:0.4.0' // iused in eye 36 | implementation 'com.github.GoodieBag:CarouselPicker:v1.1' //used in block 37 | implementation 'androidx.constraintlayout:constraintlayout:1.1.3' // everything 38 | implementation 'com.google.firebase:firebase-auth:19.3.1' // login 39 | implementation 'com.daimajia.androidanimations:library:2.3@aar' // that shaking things 40 | implementation 'androidx.legacy:legacy-support-v4:1.0.0' 41 | testImplementation 'junit:junit:4.12' 42 | implementation 'com.asksira.android:bsimagepicker:1.3.2' // pick image 43 | implementation 'com.theartofdev.edmodo:android-image-cropper:2.6.0' // to crop duh 44 | implementation 'com.jsibbold:zoomage:1.3.0-SNAPSHOT' // zoom thing 45 | implementation 'com.google.firebase:firebase-database:19.3.0' //firebase database 46 | implementation 'id.zelory:compressor:2.1.0' // compressor 47 | implementation 'androidx.recyclerview:recyclerview:1.1.0' 48 | androidTestImplementation 'androidx.test.ext:junit:1.1.1' 49 | androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' 50 | implementation 'androidx.cardview:cardview:1.0.0' //card view 51 | implementation 'com.job:droidnet:2.0.0' // check internet connection 52 | implementation 'com.github.abhidiwakar:AnstronCoreHelper:1.1' 53 | implementation 'com.iceteck.silicompressorr:silicompressor:2.2.3' 54 | 55 | 56 | implementation "android.arch.paging:runtime:1.0.1" 57 | //Firebase Pagination Library 58 | implementation 'com.shreyaspatil:FirebaseRecyclerPagination:1.0.1' 59 | 60 | 61 | 62 | 63 | 64 | 65 | } 66 | -------------------------------------------------------------------------------- /app/src/main/res/layout/eyecard.xml: -------------------------------------------------------------------------------- 1 | 2 | 15 | 18 | 27 | 40 | 41 | 51 | 52 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /.idea/markdown-navigator.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 29 | 30 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_setupactivity.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 19 | 20 | 35 | 36 | 47 |