This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Cannot open drawer inside onReceivedError  RSS feed

 
Bazley Bazzer
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have this code within `onCreate`:


When there is no internet connection it successfully detects the error and loads `error.html`. However, it refuses to open the drawer. Also, it closes the progress dialog whether I comment out that line or not. The drawer opens and closes fine when the back button is pressed:



Why will the drawer not open inside onReceivedError?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!