Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

P2022 177/navigate to details screen #13

Merged
merged 4 commits into from
Feb 22, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Remove empty lines and optimizes imports.
  • Loading branch information
Lucas-Fresko committed Feb 22, 2022
commit b3db102c1f13ea72382443e01e17d0c111787982
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
package com.intive.patronage22.intivi

import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.view.View
import android.widget.ImageView
import androidx.appcompat.app.AppCompatActivity

class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)

clickNavigate(findViewById<ImageView>(R.id.imageView), DetailsActivity::class.java)

}

private fun clickNavigate(view: View, activity: Class<*>){
Expand Down