title: Class not found in kotlin?
body: <pre><code> Intent intent=new Intent(MainActivity.this, ContactListActivity.class);
                          startActivity(intent);
  </code></pre>
  
  <p>MainActivity.this is written in java and ContactListActivity is written in kotlin. I am trying to call the ContactListActivty but end up getting the error</p>
  
  <pre><code> have you declared this activity in your AndroidManifest.xml?
  </code></pre>
  
  <p>I have also added the activity in the manifest file.</p>
  
  <pre><code> &lt;activity android:name="Chat_Activity$Connections$ContactListActivity"
              android:parentActivityName=".MainActivity"&gt;
              &lt;meta-data
                  android:name="android.support.PARENT_ACTIVITY"
                  android:value=".MainActivity"/&gt;
          &lt;/activity&gt;
  </code></pre>
  
  <p><strong>EDIT:</strong></p>
  
  <p>ContactListActivity.kt</p>
  
  <pre><code>class ContactListActivity : AppCompatActivity() {
  
      private var mBroadcastReceiver: BroadcastReceiver? = null
      private val TAG:String="ContactListActivity"
  
      //static variable
      object Obz{
          @JvmStatic val GetContactListFromServer:String="Contact List"
      }
  
      override fun onCreate(savedInstanceState: Bundle?) {
          super.onCreate(savedInstanceState)
          setContentView(layout.activity_contact_list)
  
  
          title = "Contact list"
  
          contact_list.hasFixedSize()
          contact_list.layoutManager= LinearLayoutManager(this)
  
          getContactListAndNextActivity()
      }
  
      fun getContactListAndNextActivity(){
  
          contact_list.adapter= ContactListAdaptor(applicationContext, dbHelper(applicationContext).getContactList())
  
      }
  
  }
  </code></pre>