Android Open Source - coursera-android-001 Feed Fragment

From Project

Back to project page coursera-android-001.


The source code is released under:

MIT License

If you think the Android project coursera-android-001 listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package course.labs.notificationslab;
// w  ww  .  j  av a  2s .co m
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

public class FeedFragment extends Fragment {

  private TextView mTextView;

  public void onCreate(Bundle savedInstanceState) {

  public View onCreateView(LayoutInflater inflater, ViewGroup container,
      Bundle savedInstanceState) {
    return inflater.inflate(R.layout.feed, container, false);

  public void onActivityCreated(Bundle savedInstanceState) {
    mTextView = (TextView) getView().findViewById(;

  void update(String feed) {
    if (null != mTextView) {

Java Source Code List