An android Kotlin sample of implementing Recycler View with onClick calls in Fragments. This sample project can be modified to suit your needs. I plan to maintain this project to help myself and others get a good place from where they can learn to use RecyclerViews in Kotlin.
I am planning to create a series of small sample android apps which can then be used when building a larger app. This is the second installment in this series. This project is also my first Kotlin project!
Try to follow the AOSP Code style or the Google Java style guide. I know I won't be following them thoroughly though 😉
- Min SDK version : 19 (KitKat)
- Target SDK version : 28 (Android Pie)
- Compile SDK version : 28
- AndroidX repositories are used
- Data binding is enabled
- SafeArgs for Navigation is enabled
- Built with Kotlin!
- Google Material Components
- Jetpack Navigation (Android Architecture)
- Kotlin Standard Library
To use this sample in your own project, you can either clone this repo and build a completely new app or you can take the relevant layouts and fragments you need. Either way, please give credit where due and use in accordance with the license.
No Tests yet. If you could help create some, please open an issue!
Feel free to open issues and PRs. Please check the list of open issues and leave a comment if you think you can help. Contributing guidelines will be up soon.
NOTE: Parts of this Readme were copied from my sample firebase project. I might go on and update this readme to better suit this project.
Copyright 2019 Yashovardhan Dhanania
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.