-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
…image icon in header.
(Someone forgot to add it to the commit in P2022-1043. ^^')
app/src/main/java/com/intive/patronage22/intivi/MainActivity.kt
Outdated
Show resolved
Hide resolved
|
||
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) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove needless empty line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which one, top, bottom, or both?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When empty line is removed - you can merge it
Adds navigation to DetailsActivity from MainActivity using temporary image view.
Adds DetailsActivity to the manifest.