Back to project page oidarSample.
The source code is released under:
GNU General Public License
If you think the Android project oidarSample listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.oidar.fragment; //from w w w. j a v a 2 s . c o m import android.os.Bundle; import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuInflater; import android.view.View; import android.view.ViewGroup; import com.oidar.R; import com.oidar.fragment.base.RadioFragment; import com.oidar.sql.SqlHandler; /** * Created by mbeloded on 9/18/14. */ public class LiveNewsFragment extends RadioFragment { public LiveNewsFragment() { } /** * Static creation to avoid problems on rotation. */ public static LiveNewsFragment newInstance() { return new LiveNewsFragment(); } /** * Called when the view is created. */ @Override public View onCreateView( LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View view = inflater.inflate(R.layout.fragment_radio, container, false); initViews(view); initValues(); return view; } @Override public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { inflater.inflate(R.menu.menu_live_news, menu); super.onCreateOptionsMenu(menu, inflater); } private void initValues() { } private void initViews(View view) { } /** * Called to save the new data. */ @Override public void saveData(SqlHandler handler) { } }