title: How to extend Snackbar in android (Kotlin)
body: <p>I want to create a class which extends Snackbar but I couldn't find the constructor in the Google documentation. How should I add the constructor to the class:</p>
  
  <pre><code>import com.google.android.material.snackbar.Snackbar
  
  class MySnackbar : Snackbar { 
      // Error: need a constructor
  }
  </code></pre>