title: java.lang.InstantiationException: java.lang.Class<ph.com.sdsolutions.colfinancial.app.IntentContentActivity> has no zero argument constructor
body: <p>I have two Activity class one that is holding the value from the class, second the one who is retrieving the value. I am trying to pass the variable to another Activity class via constructor.</p>
  
  <p>Here is the intent in the 1st activity class</p>
  
  <pre><code>  val intent = Intent(activity, IntentContentActivity(quote)::class.java)
                  intent.putExtra("intentFragment", i.toString())
                  startActivity(intent)
  </code></pre>
  
  <p>I tried to debug it so I can see if the data has been passed and it does <a href="https://i.stack.imgur.com/OXar9.png" rel="nofollow noreferrer">here what it looks like</a> as you can see the <code>Quote@6908</code> are passed but still return to me this error. Can someone tell me whats going on here?</p>
  
  <pre><code>Caused by: java.lang.InstantiationException: java.lang.Class&lt;ph.com.sdsolutions.colfinancial.app.IntentContentActivity&gt; has no zero argument constructor
  </code></pre>