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

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

Introduction

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

Prototype

public Date getUpdatedTime() 

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 www  .  j av  a 2  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;
}