In this tutorial, you’ll become familiar with Kotlin generics so that you can include them in your developments to make your code more concise and flexible.
Hello @devrmobileteam, thanks for your comment. Could you please elaborate a bit more your question? I cannot see what you are referring to; please point out the section and the paragraph/snippet related.
thanks for this brilliant article!
can I ask you a question? Thanks for your explanation, but i would like to know where the Contravariance can be applied to? I mean from designer point of view. Maybe are somewhere in the design patterns, or something from android world, like presenter or repository.
Thanks!!!
I am very sorry to hear the article wasn’t helpful at all. In order to be a bit more constructive and keep improving this site, could you please give us a more detailed feedback? I am sure this could help us to upgrade the article.
The article you referred to is very good material, but not in the scope of this article, which is meant for more advanced developers. Thus, it is assumed you already know about some related topics, such as reified types.
I knew nothing about it before, I just read this Kotlin Covariance and Contravariance | by mvndy | Kotlin Thursdays | Medium and after watched video. But before I intuitively came to raywenderlich, because they usually publish great articles in an understandable way. Sorry for offending, but to keep the reputation of raywenderlich you need to improove it.
I tend to think your problem is more related to your background rather than the article approach itself. You could maybe read some basics and come to this article later.