I've been working on an app for a project I'm doing and I started Kotlin a couple of weeks ago for it.
I'm trying to display Information from a MySQL database to two RecyclerView split in even and odd columns with the help of NodeJS API .
But obviously it gives me E/RecyclerView: No adapter attached; skipping layout
two times because of the two RecyclerViews
the code is in a github repo - https://github.com/C-Min-Min/Electry-Android-App
The main part is :
the page the RecyclerViews are in the app under - layout/fragment_devices.xml with java/fragments/DevicesFragment.kt
the API to fetch the information for the app is under - java/API/ with the Adapters java/Adapter/
the NodeJS api is outside of the Android app folder and you can run with node index.js
in your command prompt
the database is outside of any folder it's called electry.sql
If anyone wants to take a look or has an idea on how to solve it please help thank you in advance
If you want to see any part of the code but don't want to open the repo ask I will give it