Skip to content

Commit 763c683

Browse files
committed
Gradle updated
1 parent 932f0cc commit 763c683

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed

.idea/misc.xml

Lines changed: 8 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/src/main/java/droid/grupocelio/gavine/HomeActivity.kt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import androidx.appcompat.app.AppCompatActivity
1818
import androidx.appcompat.app.WindowDecorActionBar
1919
import androidx.fragment.app.FragmentTransaction
2020
import droid.grupocelio.gavine.fragments.*
21+
import droid.grupocelio.gavine.views.AccountDialog
2122
import kotlinx.android.synthetic.main.activity_home.*
2223
import kotlinx.android.synthetic.main.view_action_bar.*
2324
import org.w3c.dom.Text
@@ -59,7 +60,11 @@ class HomeActivity : AppCompatActivity(), HomeFragment.OnFragmentInteractionList
5960
navigation_view.setOnNavigationItemSelectedListener(mOnNavigationItemSelectedListener)
6061
(navigation_view as BottomNavigationView).selectedItemId = R.id.navigation_home
6162

62-
AlertDialog.Builder(this).create()
63+
btnProfile.setOnClickListener {
64+
val suppTransaction = supportFragmentManager.beginTransaction();
65+
val fragmentDialog = AccountDialog.newInstance("hola");
66+
fragmentDialog.show(suppTransaction, "dialog")
67+
}
6368

6469
}
6570

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ buildscript {
1111
}
1212
}
1313
dependencies {
14-
classpath 'com.android.tools.build:gradle:3.3.1'
14+
classpath 'com.android.tools.build:gradle:3.3.2'
1515
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1616

1717
// NOTE: Do not place your application dependencies here; they belong

0 commit comments

Comments
 (0)