Android Development with Android Studio - RecyclerView is not working

-1

I'm trying to get into this Android development world by using Android Studio. And right at the beginning I'm already facing a simple problem for an experienced developer who uses Android Studio but relatively difficult for those starting out.

The problem is this: My preview of the layout does not show RecyclerView, so my app, at the time of testing it, does not even open where I'm trying to use it. I've tried the recommendations of the course I'm following, but nothing works.

Here is the build.gradle (Module: app), where I put the dependencies:

Asthepreview,intherightcornerofthescreen:

    
asked by anonymous 21.10.2018 / 20:29

1 answer

0

Hello, Matthew!

Make sure your Android Studio is up to date. In Help > Check for Updates ...

Modify the implementation of the components to:

implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:recyclerview-v7:28.0.0'

And ... make sure support:appcompat does not duplicate.

    
22.10.2018 / 15:45