java - Extending YoutubePlayerFragment issue -


i want extends youtubeplayerfragment , want attach activity @ runtime . problem public constructor in youtubeplayerfragment

this constructor public use inflater. use newinstance() create youtubeplayerfragment programmatically.

and if use newinstace() method youtubeplayerfragment not custom fragment extends youtubeplayerfragment.

any suggestions , or help.


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -