Example usage for org.springframework.social.facebook.api Post getMessage

List of usage examples for org.springframework.social.facebook.api Post getMessage

Introduction

In this page you can find the example usage for org.springframework.social.facebook.api Post getMessage.

Prototype

public String getMessage() 

Source Link

Usage

From source file:org.kepennar.android.client.social.facebook.FacebookFeedListAdapter.java

public View getView(int position, View convertView, ViewGroup parent) {
    Post entry = getItem(position);

    View view = convertView;/*from  ww  w  . ja v a2 s  .  c o m*/

    if (view == null) {
        view = _layoutInflater.inflate(R.layout.facebook_feed_list_item, parent, false);
    }

    TextView t = (TextView) view.findViewById(R.id.from_name);
    t.setText(entry.getFrom().getName());

    t = (TextView) view.findViewById(R.id.updated_time);
    t.setText(entry.getUpdatedTime().toString());

    t = (TextView) view.findViewById(R.id.message);
    t.setText(entry.getMessage());

    return view;
}