In this Kotlin android development tutorial we will implementing the on click listener in the RecyclerView adapter to allow us to move to the desired webpage.
1 - Kotlin Webview https://goo.gl/6QoJsv
2 - Kotlin Toolbar https://goo.gl/7RMyaC
3 - Kotlin Browser https://goo.gl/yu1ZZC
4 - Kotlin ArrrayList https://goo.gl/6gRus5
5 - Kotling DialogFragment https://goo.gl/HzEyVz
6 - Kotlin Interface https://goo.gl/SnbCi6
7 - Kotlin RecyclerView https://goo.gl/TvHdax
8 - Kotlin RecyclerView onClick https://goo.gl/rRuWuy
To get access to the early release of tutorials, code descriptions, code and github bonus videos signup here https://goo.gl/6tDV38
www.mobapptuts.com series https://goo.gl/RYrTfu
youtube playlist: • kotlin webview tutorials
In this tutorial we will cover:
- Adding an on click listener to the RecyclerView.Adapter onBindViewHolder
- Using the Kotlin range to find the matching item
- Moving to the selected webpage using the WebView’s goBackOrForward function
- Dismissing the Dialog
- Creating a DividerItemDecoration object
- Setting the color of the divider
- Setting the background color of the RecyclerView
Kotlin API's covered:
- holder.itemView.setOnClickListener {
- for (i in 0 until webHistory.currentIndex) {
For questions, training and consultancy support I can be contacted here https://goo.gl/HEZsX1
Disclaimer - The only support provided on this channel which includes questions, will be submission of suspect bugs that are reproducible on android Nexus hardware on the github code base.
For much more information checkout
Website - https://www.mobapptuts.com
Codementor - https://www.codementor.io/mobapptuts
Twitter - / mobapptuts
Facebook - / nigeapptuts
Google+ - https://plus.google.com/b/11588464208...
Pinterest - / mobapptuts