title: How to create empty constructor for data class in Kotlin Android
body: <p>I have 10+ variables declared in Kotlin data class, and I would like to create an empty constructor for it like how we typically do in Java.</p>
  <p>Data class:</p>
  <pre><code>data class Activity(
      var updated_on: String,
      var tags: List&lt;String&gt;,
      var description: String,
      var user_id: List&lt;Int&gt;,
      var status_id: Int,
      var title: String,
      var created_at: String,
      var data: HashMap&lt;*, *&gt;,
      var id: Int,
      var counts: LinkedTreeMap&lt;*, *&gt;,
  )
  </code></pre>
  <p>Expected usage:</p>
  <pre><code>val activity =  Activity();
  activity.title = &quot;New Computer&quot;
  sendToServer(activity)
  </code></pre>
  <p>But the data class requires all arguments to be passed while creating a constructor. How can we simplify this like the Java POJO class constructor?</p>
  <pre><code>val activity =  Activity(null,null,null,null,null,&quot;New Computer&quot;,null,null,null,null)
  sendToServer(activity)
  </code></pre>