| package com.example.android.widgetdata; |
| |
| import android.os.Bundle; |
| import android.support.annotation.Nullable; |
| import android.support.v4.app.Fragment; |
| import android.view.LayoutInflater; |
| import android.view.View; |
| import android.view.ViewGroup; |
| |
| /** |
| * A Placeholder Fragment that shows the intro text from a layout. |
| */ |
| public class WidgetDataFragment extends Fragment { |
| |
| @Override |
| public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) { |
| return inflater.inflate(R.layout.fragment, null); |
| } |
| } |