Skip to content

Conversation

@WentuM
Copy link
Owner

@WentuM WentuM commented Oct 21, 2020

No description provided.

@WentuM
Copy link
Owner Author

WentuM commented Oct 21, 2020

JSticSTSOQw

@WentuM
Copy link
Owner Author

WentuM commented Oct 21, 2020

pxXspwriWK0

super.onCreate(savedInstanceState)
setContentView(R.layout.film_info)
val id = intent.extras?.getInt("id")
val film = id?.let { FilmRepository().find(it) }

Choose a reason for hiding this comment

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

FilmRepository().find(it)?also {
imageView.setImageResource(it.imageView)
....
}

xmlns:tools="http://schemas.android.com/tools"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="78dp"

Choose a reason for hiding this comment

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

72

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