Gurupreet / ComposeCookBook

A Collection on all Jetpack compose UI elements, Layouts, Widgets and Demo screens to see it's potential
MIT License
6.3k stars 799 forks source link

App is crashing due to no internet/slow internet. #32

Closed iambaljeet closed 3 years ago

iambaljeet commented 3 years ago

Describe the bug The app is crashing due to no network/connection timeout.

To Reproduce Steps to reproduce the behaviour:

  1. Connect to a slow network or disconnect internet
  2. Open MoviesApp+MVVM or Crypto app from DemoUI.
  3. Wait for some time to connection timeout.

Expected behaviour It should never crash due to any network condition or no network.

Smartphone (please complete the following information):