Created
November 17, 2018 11:34
-
-
Save YashishDua/0a9a15138addedc1a961fc063ddcec56 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class WallFragment : Fragment() { | |
companion object { | |
fun newInstance() = WallFragment() | |
} | |
private lateinit var fragmentListener: FragmentListener | |
override fun onAttach(context: Context?) { | |
super.onAttach(context) | |
fragmentListener = activity as FragmentListener | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment