├── .gitignore ├── .idea ├── caches │ ├── build_file_checksums.ser │ └── gradle_models.ser ├── codeStyles │ └── Project.xml ├── gradle.xml ├── misc.xml └── runConfigurations.xml ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── Screenshot.png ├── Screenshot_1554551372.png ├── app ├── .gitignore ├── build.gradle ├── google-services.json ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── example │ │ └── fluxtech_ubuntu │ │ └── firebasechatapp │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── assets │ │ └── kickgirls1.json │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── fluxtech_ubuntu │ │ │ └── firebasechatapp │ │ │ ├── BottomMarginItemDecorator.java │ │ │ ├── ChatModel.java │ │ │ ├── GifActivity.java │ │ │ ├── ImageModel.java │ │ │ ├── MainActivity.java │ │ │ └── SecondActivity.java │ └── res │ │ ├── anim │ │ └── anim_slide_from_bottom.xml │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ ├── avatar.png │ │ ├── heart.jpg │ │ ├── hearts.jpg │ │ ├── ic_launcher_background.xml │ │ ├── images.png │ │ ├── mask_starfish.png │ │ ├── regular.png │ │ ├── ripple_custom.xml │ │ ├── shape_bg_incoming_bubble.xml │ │ ├── shape_bg_outgoing_bubble.xml │ │ ├── show_cell_background.xml │ │ ├── show_cell_background_selected.xml │ │ ├── user_placeholder.jpg │ │ └── userplaceholder.jpg │ │ ├── layout │ │ ├── activity_gif.xml │ │ ├── activity_main.xml │ │ ├── activity_second.xml │ │ ├── avatar_head.xml │ │ ├── chat_row.xml │ │ ├── chat_send.xml │ │ ├── chatreceive.xml │ │ ├── datelayout.xml │ │ ├── emptypeopleview.xml │ │ ├── textlonglay.xml │ │ ├── textshortlay.xml │ │ └── userviewholder.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── background.jpg │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ ├── ic_launcher_round.png │ │ └── regular.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── colors.xml │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── com │ └── example │ └── fluxtech_ubuntu │ └── firebasechatapp │ └── ExampleUnitTest.java ├── build.gradle ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/libraries 5 | /.idea/modules.xml 6 | /.idea/workspace.xml 7 | .DS_Store 8 | /build 9 | /captures 10 | .externalNativeBuild 11 | -------------------------------------------------------------------------------- /.idea/caches/build_file_checksums.ser: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jignesh13/circularrecyclerview/79768c4c004ec4b466bbbd858a8cf3893c51b43e/.idea/caches/build_file_checksums.ser -------------------------------------------------------------------------------- /.idea/caches/gradle_models.ser: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jignesh13/circularrecyclerview/79768c4c004ec4b466bbbd858a8cf3893c51b43e/.idea/caches/gradle_models.ser -------------------------------------------------------------------------------- /.idea/codeStyles/Project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 15 | 16 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 14 | 15 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 9 | -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Contributor Covenant Code of Conduct 2 | 3 | ## Our Pledge 4 | 5 | In the interest of fostering an open and welcoming environment, we as 6 | contributors and maintainers pledge to making participation in our project and 7 | our community a harassment-free experience for everyone, regardless of age, body 8 | size, disability, ethnicity, sex characteristics, gender identity and expression, 9 | level of experience, education, socio-economic status, nationality, personal 10 | appearance, race, religion, or sexual identity and orientation. 11 | 12 | ## Our Standards 13 | 14 | Examples of behavior that contributes to creating a positive environment 15 | include: 16 | 17 | * Using welcoming and inclusive language 18 | * Being respectful of differing viewpoints and experiences 19 | * Gracefully accepting constructive criticism 20 | * Focusing on what is best for the community 21 | * Showing empathy towards other community members 22 | 23 | Examples of unacceptable behavior by participants include: 24 | 25 | * The use of sexualized language or imagery and unwelcome sexual attention or 26 | advances 27 | * Trolling, insulting/derogatory comments, and personal or political attacks 28 | * Public or private harassment 29 | * Publishing others' private information, such as a physical or electronic 30 | address, without explicit permission 31 | * Other conduct which could reasonably be considered inappropriate in a 32 | professional setting 33 | 34 | ## Our Responsibilities 35 | 36 | Project maintainers are responsible for clarifying the standards of acceptable 37 | behavior and are expected to take appropriate and fair corrective action in 38 | response to any instances of unacceptable behavior. 39 | 40 | Project maintainers have the right and responsibility to remove, edit, or 41 | reject comments, commits, code, wiki edits, issues, and other contributions 42 | that are not aligned to this Code of Conduct, or to ban temporarily or 43 | permanently any contributor for other behaviors that they deem inappropriate, 44 | threatening, offensive, or harmful. 45 | 46 | ## Scope 47 | 48 | This Code of Conduct applies both within project spaces and in public spaces 49 | when an individual is representing the project or its community. Examples of 50 | representing a project or community include using an official project e-mail 51 | address, posting via an official social media account, or acting as an appointed 52 | representative at an online or offline event. Representation of a project may be 53 | further defined and clarified by project maintainers. 54 | 55 | ## Enforcement 56 | 57 | Instances of abusive, harassing, or otherwise unacceptable behavior may be 58 | reported by contacting the project team at jigneshkhunt13@gmail.com. All 59 | complaints will be reviewed and investigated and will result in a response that 60 | is deemed necessary and appropriate to the circumstances. The project team is 61 | obligated to maintain confidentiality with regard to the reporter of an incident. 62 | Further details of specific enforcement policies may be posted separately. 63 | 64 | Project maintainers who do not follow or enforce the Code of Conduct in good 65 | faith may face temporary or permanent repercussions as determined by other 66 | members of the project's leadership. 67 | 68 | ## Attribution 69 | 70 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, 71 | available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html 72 | 73 | [homepage]: https://www.contributor-covenant.org 74 | 75 | For answers to common questions about this code of conduct, see 76 | https://www.contributor-covenant.org/faq 77 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | When contributing to this repository, please first discuss the change you wish to make via issue, 4 | email, or any other method with the owners of this repository before making a change. 5 | 6 | Please note we have a code of conduct, please follow it in all your interactions with the project. 7 | 8 | ## Pull Request Process 9 | 10 | 1. Ensure any install or build dependencies are removed before the end of the layer when doing a 11 | build. 12 | 2. Update the README.md with details of changes to the interface, this includes new environment 13 | variables, exposed ports, useful file locations and container parameters. 14 | 3. Increase the version numbers in any examples files and the README.md to the new version that this 15 | Pull Request would represent. The versioning scheme we use is [SemVer](http://semver.org/). 16 | 4. You may merge the Pull Request in once you have the sign-off of two other developers, or if you 17 | do not have permission to do that, you may request the second reviewer to merge it for you. 18 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright 2019 jignesh khunt 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Round Recyclerview 2 | 3 | This repository contains an Android project that demonstrates a custom RecyclerView implementation. The project showcases advanced RecyclerView features and customization options for creating dynamic and interactive lists in Android applications. 4 | 5 | amazing recyclerview with strangegridlayout and item present animation. 6 | 7 | 8 | 9 | ## Features 10 | 11 | - Custom RecyclerView adapter with flexible data binding and view holder creation. 12 | - Multiple view types for handling different data items and layouts. 13 | - Support for item click listeners and long click listeners. 14 | - Smooth animations and transitions for a polished user experience. 15 | 16 | ## Usage 17 | 18 | - Modify the custom RecyclerView adapter to fit your specific data model and item layouts. 19 | - Implement item click listeners and long click listeners to handle user interactions. 20 | - Customize the item layouts and view holders according to your UI requirements. 21 | - Extend the functionality of the RecyclerView with additional features like pagination or swipe actions. 22 | - Experiment with different animations and transitions to enhance the user experience. 23 | 24 | ## how to use 25 | 26 | To use the Custom RecyclerView project, follow these steps: 27 | 28 | 1. Clone or download the repository. 29 | 2. Open the project in Android Studio. 30 | 3. Build and run the app on an Android device or emulator. 31 | 4. Explore the various features and customization options of the custom RecyclerView. 32 | 33 | ```java 34 | RecyclerView recyclerView=findViewById(R.id.recyclerview); 35 | StaggeredGridLayoutManager staggeredGridLayoutManager=new StaggeredGridLayoutManager(3, StaggeredGridLayoutManager.VERTICAL); 36 | recyclerView.setLayoutManager(staggeredGridLayoutManager); 37 | recyclerView.setHasFixedSize(true); 38 | recyclerView.setAdapter(new MyAdapter()); 39 | ``` 40 | 41 | ```java 42 | public int getItemViewType(int position) 43 | { 44 | if (position==0||position==2) 45 | { 46 | return 1; 47 | 48 | } 49 | else if (position==1) 50 | { 51 | return 2; 52 | } 53 | else 54 | { 55 | return 3; 56 | } 57 | } 58 | 59 | @NonNull 60 | @Override 61 | public RecyclerView.ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) { 62 | Log.e("call","call"); 63 | if (viewType==1) 64 | { 65 | View layoutView = LayoutInflater.from(parent.getContext()).inflate(R.layout.emptypeopleview, null); 66 | EmptyViewHolder rcv = new EmptyViewHolder(layoutView); 67 | return rcv; 68 | } 69 | else if (viewType==2) 70 | { 71 | View layoutView = LayoutInflater.from(parent.getContext()).inflate(R.layout.avatar_head, null); 72 | AvatarViewHolder rcv = new AvatarViewHolder(layoutView); 73 | return rcv; 74 | } 75 | else 76 | { 77 | View layoutView = LayoutInflater.from(parent.getContext()).inflate(R.layout.userviewholder, null); 78 | PeopleViewHolder rcv = new PeopleViewHolder(layoutView); 79 | return rcv; 80 | } 81 | 82 | } 83 | 84 | @Override 85 | public void onBindViewHolder(@NonNull RecyclerView.ViewHolder holder, int position) { 86 | 87 | if (holder instanceof PeopleViewHolder) 88 | { 89 | if ((position+1)%3==0) 90 | { 91 | PeopleViewHolder peopleViewHolder= (PeopleViewHolder) holder; 92 | peopleViewHolder.username.setText(data.get(position).getName()); 93 | Glide.with(GifActivity.this).load(data.get(position).getProfilepic()).apply(RequestOptions.bitmapTransform(new CircleCrop()).placeholder(R.drawable.userplaceholder)).into(((PeopleViewHolder) holder).profileimageView); 94 | } 95 | else 96 | { 97 | 98 | PeopleViewHolder peopleViewHolder= (PeopleViewHolder) holder; 99 | peopleViewHolder.username.setText(data.get(position).getName()); 100 | Glide.with(GifActivity.this).load(data.get(position).getProfilepic()).apply(RequestOptions.bitmapTransform(new CircleCrop()).placeholder(R.drawable.userplaceholder)).into(((PeopleViewHolder) holder).profileimageView); 101 | 102 | } 103 | 104 | 105 | } 106 | setAnimation(holder,position); 107 | } 108 | ``` 109 | ***animation change while item present*** 110 | ```java 111 | protected void setAnimation(RecyclerView.ViewHolder holder, int position) { 112 | ///anim_slide_from_bottom file contain animation 113 | 114 | if (this.animatedPosition.contains(Integer.valueOf(position))) { 115 | holder.itemView.clearAnimation(); 116 | return; 117 | } 118 | holder.itemView.startAnimation(AnimationUtils.loadAnimation(holder.itemView.getContext(), R.anim.anim_slide_from_bottom)); 119 | this.animatedPosition.add(Integer.valueOf(position)); 120 | } 121 | ``` 122 | 123 | ## Developer 124 | jignesh khunt 125 | (jigneshkhunt13@gmail.com) 126 | 127 | ## License 128 | 129 | Copyright 2019 jignesh khunt 130 | 131 | Licensed under the Apache License, Version 2.0 (the "License"); 132 | you may not use this file except in compliance with the License. 133 | You may obtain a copy of the License at 134 | 135 | http://www.apache.org/licenses/LICENSE-2.0 136 | 137 | Unless required by applicable law or agreed to in writing, software 138 | distributed under the License is distributed on an "AS IS" BASIS, 139 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 140 | See the License for the specific language governing permissions and 141 | limitations under the License. 142 | -------------------------------------------------------------------------------- /Screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jignesh13/circularrecyclerview/79768c4c004ec4b466bbbd858a8cf3893c51b43e/Screenshot.png -------------------------------------------------------------------------------- /Screenshot_1554551372.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jignesh13/circularrecyclerview/79768c4c004ec4b466bbbd858a8cf3893c51b43e/Screenshot_1554551372.png -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 27 5 | defaultConfig { 6 | applicationId "com.example.fluxtech_ubuntu.firebasechatapp" 7 | minSdkVersion 15 8 | targetSdkVersion 27 9 | versionCode 1 10 | versionName "1.0" 11 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 12 | } 13 | buildTypes { 14 | release { 15 | minifyEnabled false 16 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 17 | } 18 | } 19 | } 20 | 21 | dependencies { 22 | implementation fileTree(dir: 'libs', include: ['*.jar']) 23 | implementation 'com.android.support:appcompat-v7:27.1.1' 24 | implementation 'com.android.support.constraint:constraint-layout:1.0.2' 25 | implementation 'com.google.firebase:firebase-database:11.8.0' 26 | testImplementation 'junit:junit:4.12' 27 | androidTestImplementation 'com.android.support.test:runner:1.0.1' 28 | implementation 'com.github.bumptech.glide:glide:3.7.0' 29 | implementation 'com.google.code.gson:gson:2.8.2' 30 | implementation 'jp.wasabeef:glide-transformations:3.2.0' 31 | implementation 'jp.co.cyberagent.android.gpuimage:gpuimage-library:1.4.1' 32 | implementation 'com.squareup.okhttp:okhttp:2.7.5' 33 | implementation 'com.github.bumptech.glide:okhttp-integration:1.4.0' 34 | androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1' 35 | implementation 'com.android.support:recyclerview-v7:27.1.1' 36 | implementation 'com.android.support:design:27.1.1' 37 | } 38 | 39 | apply plugin: 'com.google.gms.google-services' 40 | -------------------------------------------------------------------------------- /app/google-services.json: -------------------------------------------------------------------------------- 1 | { 2 | "project_info": { 3 | "project_number": "333159024383", 4 | "firebase_url": "https://fir-chatapp-4dd2b.firebaseio.com", 5 | "project_id": "fir-chatapp-4dd2b", 6 | "storage_bucket": "fir-chatapp-4dd2b.appspot.com" 7 | }, 8 | "client": [ 9 | { 10 | "client_info": { 11 | "mobilesdk_app_id": "1:333159024383:android:7b16729d0680843c", 12 | "android_client_info": { 13 | "package_name": "com.example.fluxtech_ubuntu.firebasechatapp" 14 | } 15 | }, 16 | "oauth_client": [ 17 | { 18 | "client_id": "333159024383-pmk9ihrea999sj0jij0gtotnftleba7k.apps.googleusercontent.com", 19 | "client_type": 1, 20 | "android_info": { 21 | "package_name": "com.example.fluxtech_ubuntu.firebasechatapp", 22 | "certificate_hash": "9fe035afb0ade11b529eb8029fa1cf4a4f4a4502" 23 | } 24 | }, 25 | { 26 | "client_id": "333159024383-r0mmi20bbqdv450pvvg5llhkk0ou23bf.apps.googleusercontent.com", 27 | "client_type": 3 28 | } 29 | ], 30 | "api_key": [ 31 | { 32 | "current_key": "AIzaSyCur2_Hi1IekchN9_i23qVoiti4jmHp5Gk" 33 | } 34 | ], 35 | "services": { 36 | "analytics_service": { 37 | "status": 1 38 | }, 39 | "appinvite_service": { 40 | "status": 2, 41 | "other_platform_oauth_client": [ 42 | { 43 | "client_id": "333159024383-r0mmi20bbqdv450pvvg5llhkk0ou23bf.apps.googleusercontent.com", 44 | "client_type": 3 45 | } 46 | ] 47 | }, 48 | "ads_service": { 49 | "status": 2 50 | } 51 | } 52 | } 53 | ], 54 | "configuration_version": "1" 55 | } -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /app/src/androidTest/java/com/example/fluxtech_ubuntu/firebasechatapp/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package com.example.fluxtech_ubuntu.firebasechatapp; 2 | 3 | import android.content.Context; 4 | import android.support.test.InstrumentationRegistry; 5 | import android.support.test.runner.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.getTargetContext(); 23 | 24 | assertEquals("com.example.fluxtech_ubuntu.firebasechatapp", appContext.getPackageName()); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/fluxtech_ubuntu/firebasechatapp/BottomMarginItemDecorator.java: -------------------------------------------------------------------------------- 1 | package com.example.fluxtech_ubuntu.firebasechatapp; 2 | 3 | import android.graphics.Rect; 4 | import android.support.v7.widget.RecyclerView; 5 | import android.view.View; 6 | 7 | public class BottomMarginItemDecorator extends RecyclerView.ItemDecoration { 8 | public void getItemOffsets(Rect outRect, View view, RecyclerView parent, RecyclerView.State state) { 9 | super.getItemOffsets(outRect, view, parent, state); 10 | if (parent.getChildAdapterPosition(view) == state.getItemCount() - 1) { 11 | outRect.bottom = parent.getContext().getResources().getDimensionPixelSize(R.dimen.recycler_margin_bottom); 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/fluxtech_ubuntu/firebasechatapp/ChatModel.java: -------------------------------------------------------------------------------- 1 | package com.example.fluxtech_ubuntu.firebasechatapp; 2 | 3 | public class ChatModel { 4 | private String text; 5 | 6 | public String getText() { 7 | return text; 8 | } 9 | 10 | public boolean Issend() { 11 | return issend; 12 | } 13 | 14 | private boolean issend; 15 | public ChatModel(String text,boolean issend) 16 | { 17 | this.text=text; 18 | this.issend=issend; 19 | 20 | } 21 | 22 | @Override 23 | public String toString() { 24 | return text; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/fluxtech_ubuntu/firebasechatapp/GifActivity.java: -------------------------------------------------------------------------------- 1 | package com.example.fluxtech_ubuntu.firebasechatapp; 2 | 3 | import android.app.Activity; 4 | import android.content.Context; 5 | import android.content.SharedPreferences; 6 | import android.content.pm.PackageManager; 7 | import android.graphics.Bitmap; 8 | import android.graphics.PorterDuff; 9 | import android.os.Build; 10 | import android.os.Bundle; 11 | import android.os.Environment; 12 | import android.provider.ContactsContract; 13 | import android.support.annotation.NonNull; 14 | import android.support.v4.app.ActivityCompat; 15 | import android.support.v7.app.AppCompatActivity; 16 | import android.support.v7.widget.RecyclerView; 17 | import android.support.v7.widget.StaggeredGridLayoutManager; 18 | import android.telephony.SubscriptionInfo; 19 | import android.telephony.SubscriptionManager; 20 | import android.telephony.TelephonyManager; 21 | import android.util.Log; 22 | import android.view.LayoutInflater; 23 | import android.view.MotionEvent; 24 | import android.view.View; 25 | import android.view.ViewGroup; 26 | import android.view.Window; 27 | import android.view.WindowManager; 28 | import android.view.animation.AnimationUtils; 29 | import android.widget.ImageView; 30 | import android.widget.LinearLayout; 31 | import android.widget.ProgressBar; 32 | import android.widget.TextView; 33 | import android.widget.Toast; 34 | 35 | import com.bumptech.glide.Glide; 36 | import com.bumptech.glide.integration.okhttp.OkHttpUrlLoader; 37 | import com.bumptech.glide.load.MultiTransformation; 38 | import com.bumptech.glide.load.engine.DiskCacheStrategy; 39 | import com.bumptech.glide.load.model.GlideUrl; 40 | import com.bumptech.glide.load.resource.bitmap.CircleCrop; 41 | import com.bumptech.glide.request.RequestOptions; 42 | 43 | import com.squareup.okhttp.Interceptor; 44 | import com.squareup.okhttp.MediaType; 45 | import com.squareup.okhttp.OkHttpClient; 46 | import com.squareup.okhttp.Response; 47 | import com.squareup.okhttp.ResponseBody; 48 | 49 | import org.json.JSONArray; 50 | import org.json.JSONException; 51 | import org.json.JSONObject; 52 | 53 | import java.io.BufferedReader; 54 | import java.io.File; 55 | import java.io.IOException; 56 | import java.io.InputStream; 57 | import java.io.InputStreamReader; 58 | import java.util.ArrayList; 59 | import java.util.HashSet; 60 | import java.util.List; 61 | import java.util.Set; 62 | import java.util.UUID; 63 | 64 | import jp.wasabeef.glide.transformations.BlurTransformation; 65 | import jp.wasabeef.glide.transformations.CropCircleTransformation; 66 | import jp.wasabeef.glide.transformations.MaskTransformation; 67 | import jp.wasabeef.glide.transformations.RoundedCornersTransformation; 68 | import okio.Buffer; 69 | import okio.BufferedSource; 70 | import okio.ForwardingSource; 71 | import okio.Okio; 72 | import okio.Source; 73 | 74 | public class GifActivity extends AppCompatActivity { 75 | private ImageView img; 76 | private OkHttpClient mOkHttpClient; 77 | private final static String DOWNLOAD_URL = "http://snapaddapp.returnzerollc.netdna-cdn.com/profiles/user_2067989_thumbnail_5adae805e4c64_1524295685.jpg"; 78 | private SubscriptionManager mSubscriptionManager; 79 | private List subInfoList; 80 | ArrayList Numbers; 81 | private boolean isMultiSimEnabled; 82 | private ArrayList data=new ArrayList<>(); 83 | @Override 84 | protected void onCreate(Bundle savedInstanceState) { 85 | super.onCreate(savedInstanceState); 86 | setContentView(R.layout.activity_gif); 87 | try { 88 | JSONObject jsonObject=new JSONObject(readJsonFile(this,"kickgirls1.json")); 89 | JSONArray jsonArray=jsonObject.getJSONArray("data"); 90 | data.add(null); 91 | data.add(null); 92 | data.add(null); 93 | ArrayList imageModels=new ArrayList<>(); 94 | for (int i=0;i 152 | { 153 | private Set animatedPosition = new HashSet(); 154 | @Override 155 | public int getItemViewType(int position) 156 | { 157 | if (position==0||position==2) 158 | { 159 | return 1; 160 | 161 | } 162 | else if (position==1) 163 | { 164 | return 2; 165 | } 166 | else 167 | { 168 | return 3; 169 | } 170 | } 171 | 172 | @NonNull 173 | @Override 174 | public RecyclerView.ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) { 175 | Log.e("call","call"); 176 | if (viewType==1) 177 | { 178 | View layoutView = LayoutInflater.from(parent.getContext()).inflate(R.layout.emptypeopleview, null); 179 | EmptyViewHolder rcv = new EmptyViewHolder(layoutView); 180 | return rcv; 181 | } 182 | else if (viewType==2) 183 | { 184 | View layoutView = LayoutInflater.from(parent.getContext()).inflate(R.layout.avatar_head, null); 185 | AvatarViewHolder rcv = new AvatarViewHolder(layoutView); 186 | return rcv; 187 | } 188 | else 189 | { 190 | View layoutView = LayoutInflater.from(parent.getContext()).inflate(R.layout.userviewholder, null); 191 | PeopleViewHolder rcv = new PeopleViewHolder(layoutView); 192 | return rcv; 193 | } 194 | 195 | } 196 | 197 | @Override 198 | public void onBindViewHolder(@NonNull RecyclerView.ViewHolder holder, int position) { 199 | 200 | if (holder instanceof PeopleViewHolder) 201 | { 202 | if ((position+1)%3==0) 203 | { 204 | PeopleViewHolder peopleViewHolder= (PeopleViewHolder) holder; 205 | peopleViewHolder.username.setText(data.get(position).getName()); 206 | Glide.with(GifActivity.this).load(data.get(position).getProfilepic()).apply(RequestOptions.bitmapTransform(new CircleCrop()).placeholder(R.drawable.userplaceholder)).into(((PeopleViewHolder) holder).profileimageView); 207 | } 208 | else 209 | { 210 | 211 | PeopleViewHolder peopleViewHolder= (PeopleViewHolder) holder; 212 | peopleViewHolder.username.setText(data.get(position).getName()); 213 | Glide.with(GifActivity.this).load(data.get(position).getProfilepic()).apply(RequestOptions.bitmapTransform(new CircleCrop()).placeholder(R.drawable.userplaceholder)).into(((PeopleViewHolder) holder).profileimageView); 214 | 215 | } 216 | 217 | 218 | } 219 | setAnimation(holder,position); 220 | } 221 | protected void setAnimation(RecyclerView.ViewHolder holder, int position) { 222 | if (this.animatedPosition.contains(Integer.valueOf(position))) { 223 | holder.itemView.clearAnimation(); 224 | return; 225 | } 226 | holder.itemView.startAnimation(AnimationUtils.loadAnimation(holder.itemView.getContext(), R.anim.anim_slide_from_bottom)); 227 | this.animatedPosition.add(Integer.valueOf(position)); 228 | } 229 | @Override 230 | public int getItemCount() { 231 | return data.size(); 232 | } 233 | class EmptyViewHolder extends RecyclerView.ViewHolder 234 | { 235 | 236 | public EmptyViewHolder(View itemView) { 237 | super(itemView); 238 | } 239 | } 240 | 241 | class PeopleViewHolder extends RecyclerView.ViewHolder 242 | { 243 | public TextView username; 244 | public ImageView profileimageView; 245 | 246 | public PeopleViewHolder(View itemView) { 247 | super(itemView); 248 | 249 | username=itemView.findViewById(R.id.user); 250 | profileimageView=itemView.findViewById(R.id.profile); 251 | profileimageView.setOnClickListener(new View.OnClickListener() { 252 | @Override 253 | public void onClick(View view) { 254 | // Toast.makeText(GifActivity.this, ""+data.get(getAdapterPosition()).getName(), Toast.LENGTH_SHORT).show(); 255 | } 256 | }); 257 | profileimageView.setOnTouchListener(new View.OnTouchListener() { 258 | 259 | @Override 260 | public boolean onTouch(View v, MotionEvent event) { 261 | 262 | switch (event.getAction()) { 263 | case MotionEvent.ACTION_DOWN: { 264 | ImageView view = (ImageView) v; 265 | //overlay is black with transparency of 0x77 (119) 266 | view.getDrawable().setColorFilter(0x77FF4081,PorterDuff.Mode.SRC_ATOP); 267 | view.invalidate(); 268 | break; 269 | } 270 | case MotionEvent.ACTION_UP: 271 | case MotionEvent.ACTION_CANCEL: { 272 | ImageView view = (ImageView) v; 273 | //clear the overlay 274 | view.getDrawable().clearColorFilter(); 275 | view.invalidate(); 276 | break; 277 | } 278 | } 279 | 280 | return false; 281 | } 282 | }); 283 | 284 | } 285 | } 286 | class AvatarViewHolder extends RecyclerView.ViewHolder 287 | { 288 | public AvatarViewHolder(View itemView) { 289 | super(itemView); 290 | } 291 | } 292 | } 293 | 294 | } 295 | 296 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/fluxtech_ubuntu/firebasechatapp/ImageModel.java: -------------------------------------------------------------------------------- 1 | package com.example.fluxtech_ubuntu.firebasechatapp; 2 | 3 | public class ImageModel { 4 | public String getName() { 5 | return name; 6 | } 7 | 8 | public String getProfilepic() { 9 | return profilepic; 10 | } 11 | 12 | private String name; 13 | 14 | public ImageModel(String name, String profilepic) { 15 | this.name = name; 16 | this.profilepic = profilepic; 17 | } 18 | 19 | private String profilepic; 20 | } 21 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/fluxtech_ubuntu/firebasechatapp/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.example.fluxtech_ubuntu.firebasechatapp; 2 | 3 | import android.content.Intent; 4 | import android.support.annotation.NonNull; 5 | import android.support.v7.app.AppCompatActivity; 6 | import android.os.Bundle; 7 | import android.support.v7.widget.LinearLayoutManager; 8 | import android.support.v7.widget.RecyclerView; 9 | import android.util.Log; 10 | import android.view.LayoutInflater; 11 | import android.view.View; 12 | import android.view.ViewGroup; 13 | import android.widget.LinearLayout; 14 | import android.widget.TextView; 15 | 16 | import com.google.firebase.database.ChildEventListener; 17 | import com.google.firebase.database.DataSnapshot; 18 | import com.google.firebase.database.DatabaseError; 19 | import com.google.firebase.database.DatabaseReference; 20 | import com.google.firebase.database.FirebaseDatabase; 21 | import com.google.firebase.database.ServerValue; 22 | import com.google.firebase.database.ValueEventListener; 23 | 24 | import java.lang.annotation.Target; 25 | import java.util.ArrayList; 26 | import java.util.Collection; 27 | import java.util.Collections; 28 | import java.util.HashMap; 29 | import java.util.List; 30 | import java.util.Map; 31 | 32 | public class MainActivity extends AppCompatActivity { 33 | 34 | private static final String TAG = MainActivity.class.getName(); 35 | private DatabaseReference myRef; 36 | private ArrayList arrayList=new ArrayList(); 37 | private ValueEventListener addValue=new ValueEventListener() { 38 | @Override 39 | public void onDataChange(DataSnapshot dataSnapshot) { 40 | Log.e("valueevemt",dataSnapshot.toString()); 41 | } 42 | 43 | @Override 44 | public void onCancelled(DatabaseError databaseError) { 45 | 46 | } 47 | }; 48 | 49 | @Override 50 | protected void onCreate(Bundle savedInstanceState) { 51 | super.onCreate(savedInstanceState); 52 | setContentView(R.layout.activity_main); 53 | // Write a message to the database 54 | final FirebaseDatabase database = FirebaseDatabase.getInstance(); 55 | myRef = database.getReference("Users/67693"); 56 | 57 | 58 | 59 | 60 | } 61 | 62 | @Override 63 | protected void onResume() { 64 | super.onResume(); 65 | myRef.addValueEventListener(addValue); 66 | } 67 | 68 | @Override 69 | protected void onStop() { 70 | super.onStop(); 71 | myRef.removeEventListener(addValue); 72 | } 73 | 74 | public void viewClick(View view) { 75 | Intent intent=new Intent(this,SecondActivity.class); 76 | startActivity(intent); 77 | finish(); 78 | } 79 | } -------------------------------------------------------------------------------- /app/src/main/java/com/example/fluxtech_ubuntu/firebasechatapp/SecondActivity.java: -------------------------------------------------------------------------------- 1 | package com.example.fluxtech_ubuntu.firebasechatapp; 2 | 3 | import android.support.v7.app.AppCompatActivity; 4 | import android.os.Bundle; 5 | 6 | public class SecondActivity extends AppCompatActivity { 7 | 8 | @Override 9 | protected void onCreate(Bundle savedInstanceState) { 10 | super.onCreate(savedInstanceState); 11 | setContentView(R.layout.activity_second); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /app/src/main/res/anim/anim_slide_from_bottom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- 1 | 7 | 12 | 13 | 19 | 22 | 25 | 26 | 27 | 28 | 34 | 35 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jignesh13/circularrecyclerview/79768c4c004ec4b466bbbd858a8cf3893c51b43e/app/src/main/res/drawable/avatar.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/heart.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jignesh13/circularrecyclerview/79768c4c004ec4b466bbbd858a8cf3893c51b43e/app/src/main/res/drawable/heart.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/hearts.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jignesh13/circularrecyclerview/79768c4c004ec4b466bbbd858a8cf3893c51b43e/app/src/main/res/drawable/hearts.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 10 | 15 | 20 | 25 | 30 | 35 | 40 | 45 | 50 | 55 | 60 | 65 | 70 | 75 | 80 | 85 | 90 | 95 | 100 | 105 | 110 | 115 | 120 | 125 | 130 | 135 | 140 | 145 | 150 | 155 | 160 | 165 | 170 | 171 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/images.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jignesh13/circularrecyclerview/79768c4c004ec4b466bbbd858a8cf3893c51b43e/app/src/main/res/drawable/images.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/mask_starfish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jignesh13/circularrecyclerview/79768c4c004ec4b466bbbd858a8cf3893c51b43e/app/src/main/res/drawable/mask_starfish.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/regular.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jignesh13/circularrecyclerview/79768c4c004ec4b466bbbd858a8cf3893c51b43e/app/src/main/res/drawable/regular.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/ripple_custom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_bg_incoming_bubble.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_bg_outgoing_bubble.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/show_cell_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/show_cell_background_selected.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/user_placeholder.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jignesh13/circularrecyclerview/79768c4c004ec4b466bbbd858a8cf3893c51b43e/app/src/main/res/drawable/user_placeholder.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/userplaceholder.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jignesh13/circularrecyclerview/79768c4c004ec4b466bbbd858a8cf3893c51b43e/app/src/main/res/drawable/userplaceholder.jpg -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_gif.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 |