What the issue here guys
# android
a
What the issue here guys
google 2
d
I don't get your question. The problem is stated in the error log.
a
the addNote is present in the XML fragment
d
That's not the XML. So what do u expect? You have to instanciate it
d
okay, but it is unresolved, as well as 'notelistview' Did you use Databinding or Viewbinding, or how are you creating a reference to the View
a
even the notesListView is present in the XML fragment as an id
Viewbinding
addNote is an Id in an XML fragment as an id for a floating action button
as for notesListView is an id to RecyclerView
d
View Binding | Android Developers This is the official documentation for viewbinding.Your mistake is, that you are not referencing the view at any point, you just assume it is magically there.
p
to be fair, if @andodeki has come from Xamarin or XAML stuff, Microsoft does magically deal with that binding for you. It isn’t common on other platforms, though so it means you’re just missing a step, @andodeki. Working up from the beginning on Android stuff or searching for the error message that is returned is probably a better option than asking here. This Slack is for discussions that are specifically Kotlin related.