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

Conversation

Lucas-Fresko
Copy link
Contributor

Adds navigation to DetailsActivity from MainActivity using temporary image view.

Adds DetailsActivity to the manifest.


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)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove needless empty line

Copy link
Contributor Author

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?

Copy link
Contributor

@kosiara kosiara left a 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

@Lucas-Fresko Lucas-Fresko merged commit 5548e83 into master Feb 22, 2022
@Lucas-Fresko Lucas-Fresko deleted the P2022-177/Navigate_to_details_screen branch March 11, 2022 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants