I'm trying to add custom view where I'm able to receive the path of the class by an attribute and create it in runtime and I want it to work like the app:layoutManager
in RecyclerView
, if you try to add the path of your class, Android Studio shows the autocomplete and even the .
works.. How??
It's not a question about adding attributes, I already had a look the RecyclerView code and it is receiving a string
and then, the string is used to create the instance in runtime.
I would be really thankful if someone can help me with this.
https://stackoverflow.com/questions/66811340/how-does-the-android-studio-autocomplete-works-in-recyclerviews-applayoutmana March 26, 2021 at 01:07PM
没有评论:
发表评论