Skip to content

Commit

Permalink
Merge pull request #11 from Semper-Viventem/release
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
Semper-Viventem authored Jul 27, 2018
2 parents 807347e + c030ad5 commit c54d8f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package ru.semper_viventem.backdropview.ui.common

import android.content.Context
import android.os.Bundle
import android.support.v4.app.Fragment
import android.view.LayoutInflater
Expand All @@ -22,10 +21,10 @@ abstract class Screen : Fragment {
return inflater.inflate(layoutId, container, false)
}

override fun onStart() {
super.onStart()
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
super.onViewCreated(view, savedInstanceState)

onInitView(view!!)
onInitView(view)
}

abstract fun onInitView(view: View)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ class TextScreen : Screen() {

override fun onInitView(view: View) {

view.image.load("http://mariakucherenko.com/wp-content/uploads/2011/08/20110814_%D0%BA%D0%BE%D1%82.jpg")
view.image.load("https://habrastorage.org/webt/r9/p8/fi/r9p8figkbszo_cyhdg-6nad4mp0.png")
}
}

0 comments on commit c54d8f1

Please sign in to comment.