Version 2 of Oops! No Internet! library released!

Photo by brandon siu on Unsplash

A short introduction… 🚀


Preview of NoInternetDialogPendulum
Preview of NoInternetDialogSignal


Preview of NoInternetSnackbarFire

Lifecycle-Aware Component

We are now using the Maven repository for our library 😎 Yeaaa…

How to use… 🤨

android {

// ...

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8


dependencies {
// ...

// Material Components for Android. Replace the version with the latest version of Material Components library.
implementation ''

implementation 'org.imaginativeworld.oopsnointernet:oopsnointernet:x.x.x'
  • 0. Minimum SDK for this library is API 21 (Android 5.0 Lollipop).
  • 1. Your application has to use AndroidX to use this library.
  • 2. You have to use *.MaterialComponents.* in your styles.
// Kotlin
class MainActivity : AppCompatActivity() {

override fun onCreate(savedInstanceState: Bundle?) {

// ...

// No Internet Dialog: Pendulum

// No Internet Dialog: Signal

// No Internet Snackbar: Fire


What next… 🤔




Student, App Developer, Blogger, Coder and 🐧 Lover.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Adding Android TV support to your Flutter App

Sample App installed on Android TV Emulator

Top Android Studio Shortcuts

Android studio shortcuts

The Essential Components of ConstraintLayout

How to Make RecyclerView Items That Expand With Animation

Building an XR Application in Unity with MRTK [Part 8] — Oculus Quest Support

Add Oculus Data Provider to MRTK scene

Modernising A Legacy Android App Architecture, Part Two: MVVM-ish

Android WiFi Scanning Frustrations

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Md. Mahmudul Hasan Shohag

Md. Mahmudul Hasan Shohag

Student, App Developer, Blogger, Coder and 🐧 Lover.

More from Medium

Why is programming so frustrating?

What a Gig — California Business JournalAccording to Pew Research, in 2021, “16% of Americans have…

Save a crucial minute for your team with “Severity level”

What are we going to do in the future?