Created
October 10, 2017 15:52
-
-
Save hi-manshu/be38ab248f8b6a5092c79e82bf623b31 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
public class DayActivity extends Fragment { | |
public DayActivity() { | |
// Required empty public constructor | |
} | |
@Override | |
public void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
} | |
@Override | |
public void onResume() { | |
super.onResume(); | |
} | |
@Override | |
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { | |
// Inflate the layout for this fragment | |
mIsRestoredFromBackstack = false; | |
View view = inflater.inflate(R.layout.fragment_day_activty, container, false); | |
SharedPreference.init(getContext()); | |
bindView(view); | |
//Initiated Broadcast receiver | |
return view; | |
} | |
private void bindView(View view) { | |
dayProgressBarActivity = (ProgressBar) view.findViewById(R.id.dayProgressBarActivity); | |
steps = (CustomFontTextView) view.findViewById(R.id.Steps); | |
caloriesburnt = (CustomFontTextView) view.findViewById(R.id.caloriesburnt); | |
distanceTravelled = (CustomFontTextView) view.findViewById(R.id.distanceTravelled); | |
activetime = (CustomFontTextView) view.findViewById(R.id.activetime); | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment