UdacityAndroidNanodegreePrjs / MoviesApp

Movies App :To explore more information about ratings,trailer and set your favorite movies

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Offline Support

PN1019 opened this issue · comments

commented

As per the suggestion by udacity reviewer,says that:

You should use an empty view. An empty view is a view that appears in a gridview, listview, recyclerview, or equivalent when no data is present to display. For example, if the internet is disabled

Because you are using a recyclerview, you have to implement this yourself, as gridview, and listview already have this functionality built in. You can learn how to do this a couple of different ways here: http://stackoverflow.com/questions/28217436/how-to-show-an-empty-view-with-a-recyclerview
My personal suggestion is to extend recyclerview.

This helps user experience by showing why the application is behaving a certain way. In this case, it will alert the user the app won't work correctly without internet.