Skip to content

Commit

Permalink
remove viewBinding code
Browse files Browse the repository at this point in the history
  • Loading branch information
Rajin9601 committed Sep 24, 2021
1 parent 4c1c3f3 commit c7ea70a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions app/src/main/java/me/rajin/inavitest/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@ package me.rajin.inavitest

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import me.rajin.inavitest.databinding.ActivityMainBinding

class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
val binding = ActivityMainBinding.inflate(layoutInflater)
setContentView(binding.root)
binding.mapLayer
setContentView(R.layout.activity_main)
}
}

0 comments on commit c7ea70a

Please sign in to comment.