Campus-Android icon indicating copy to clipboard operation
Campus-Android copied to clipboard

News page loading time

Open yujinkimmn opened this issue 3 years ago • 1 comments

Steps to Reproduce

  1. Click Hamburger menu on the upper left
  2. News category

Problem

When I click this news category, it only shows this loading page.

And the error log says,

2022-07-24 11:16:22.029 11805-11805/de.tum.in.tumcampus E/RecyclerView: No adapter attached; skipping layout

Suggested Enhancement :sparkles:

Figuring out the reason of this loading and fix correctly

yujinkimmn avatar Jul 24 '22 09:07 yujinkimmn

It turned out to be the value "news" got from Db to be null. Does anyone know this reason?

val news = newsController.getAllFromDb(requireContext()) 

yujinkimmn avatar Jul 25 '22 13:07 yujinkimmn

Turned to be my own environment's problem

yujinkimmn avatar Aug 15 '22 09:08 yujinkimmn