https://kotlinlang.org logo
Title
j

jurajsolarml

01/27/2019, 4:20 PM
Hello,Please can you help me ? I am beginner. I'm not sure how to do it. /Kotlin/ Thanks
d

Dominaezzz

01/27/2019, 4:37 PM
CustomAdapter(this, listOf())
might make the error go away. Your question requires more context on what you want the ouput to be and belongs on StackOverflow as it doesn't seem Kotlin specific.
j

jurajsolarml

01/27/2019, 4:46 PM
I tried to change it and it does not work 😞
d

Dominaezzz

01/27/2019, 4:46 PM
arrayListOf()
j

jurajsolarml

01/27/2019, 5:01 PM
It does not work for me 😞
d

Dominaezzz

01/27/2019, 5:02 PM
You're missing a bracket at the end of that line 29.
j

jurajsolarml

01/27/2019, 5:15 PM
Again the error,drawer_layout.addDrawerListener(toggle) toggle.syncState() nav_view.setNavigationItemSelectedListener(this)
d

Dominaezzz

01/27/2019, 5:17 PM
Move line 33 to line 45.
j

jurajsolarml

01/27/2019, 5:22 PM
without a change
The application runs but does not display recyclerView and does not respond to click navDraw, open and close is Ok
j

Jirka

01/27/2019, 10:52 PM
You should try to understand the basics of Kotlin and programming in general before doing anything app related.
j

jurajsolarml

01/28/2019, 1:39 PM
I was already working on trying to add SearchView 🙂