Skip to content

Instantly share code, notes, and snippets.

@Elvis10ten
Created November 24, 2017 12:17
Show Gist options
  • Save Elvis10ten/dc21c427b6d02dd0ddadd3b054c88652 to your computer and use it in GitHub Desktop.
Save Elvis10ten/dc21c427b6d02dd0ddadd3b054c88652 to your computer and use it in GitHub Desktop.
package com.mobymagic.shazamclone.discover
import android.os.Bundle
import android.support.v4.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.mobymagic.shazamclone.R
/**
* A simple [Fragment] subclass that shows the necessary UI to identify songs playing around.
*/
class DiscoverFragment : Fragment() {
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?,
savedInstanceState: Bundle?): View? {
// Inflate the layout for this fragment
return inflater.inflate(R.layout.fragment_discover, container, false)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment