Skip to content
Permalink
Browse files
feat: update dependencies
  • Loading branch information
eneim committed Jun 28, 2020
1 parent 6b7b246 commit c67adf4f68a92ab7c91d74588bd4b3e422e7529f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
@@ -33,6 +33,14 @@ android {

dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])

def kohii_version = "1.1.0.2011003-RC2"
implementation "im.ene.kohii:kohii-core:${kohii_version}"
implementation "im.ene.kohii:kohii-exoplayer:${kohii_version}"
implementation "com.google.android.exoplayer:exoplayer:2.11.3"

implementation "androidx.viewpager2:viewpager2:1.0.0"

implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation 'androidx.core:core-ktx:1.3.0'
implementation 'androidx.appcompat:appcompat:1.1.0'
@@ -7,7 +7,7 @@ import android.view.ViewGroup
import android.widget.TextView
import androidx.fragment.app.Fragment
import androidx.lifecycle.Observer
import androidx.lifecycle.ViewModelProviders
import androidx.lifecycle.ViewModelProvider
import kohii.tut.c301.R

class HomeFragment : Fragment() {
@@ -19,9 +19,7 @@ class HomeFragment : Fragment() {
container: ViewGroup?,
savedInstanceState: Bundle?
): View? {
homeViewModel =
ViewModelProviders.of(this)
.get(HomeViewModel::class.java)
homeViewModel = ViewModelProvider(this).get(HomeViewModel::class.java)
val root = inflater.inflate(R.layout.fragment_home, container, false)
val textView: TextView = root.findViewById(R.id.text_home)
homeViewModel.text.observe(viewLifecycleOwner, Observer {

0 comments on commit c67adf4

Please sign in to comment.