Skip to content

Commit

Permalink
slight change to the metaapp in order to fix the issue with tests for…
Browse files Browse the repository at this point in the history
… DIA-3574-update-sdk-dep-view-binding
  • Loading branch information
bohdan-go-wombat committed May 2, 2024
1 parent 9acafb2 commit 7549140
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,22 @@ package com.sourcepointmeta.metaapp.ui
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.sourcepointmeta.metaapp.R
import com.sourcepointmeta.metaapp.databinding.MainActivityBinding
import com.sourcepointmeta.metaapp.ui.propertylist.PropertyListFragment

class MainActivity : AppCompatActivity() {

private lateinit var binding: MainActivityBinding

override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.main_activity)

binding = MainActivityBinding.inflate(layoutInflater)
setContentView(binding.root)

if (savedInstanceState == null) {
supportFragmentManager.beginTransaction()
.replace(R.id.container, PropertyListFragment())
.replace(binding.container.id, PropertyListFragment())
.commitNow()
}
}
Expand Down

0 comments on commit 7549140

Please sign in to comment.