Android Open Source - rss-parser View Holder






From Project

Back to project page rss-parser.

License

The source code is released under:

Copyright (c) 2014 Artem Gapchenko Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the So...

If you think the Android project rss-parser 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 aga.rssparser.sample;
//from   ww  w .jav a  2s .c  o m
import android.view.View;
import android.widget.TextView;

/**
 * @author artem
 * Created on 17.08.14.
 */
public class ViewHolder {
    private final TextView mTitle;
    private final TextView mLink;
    private final TextView mPubDate;

    public ViewHolder(final View rootView) {
        mTitle = (TextView) rootView.findViewById(R.id.title);
        mLink = (TextView) rootView.findViewById(R.id.link);
        mPubDate = (TextView) rootView.findViewById(R.id.pub_date);
    }

    public TextView getTitle() {
        return mTitle;
    }

    public TextView getLink() {
        return mLink;
    }

    public TextView getPubDate() {
        return mPubDate;
    }
}




Java Source Code List

aga.rssparser.RSSReadException.java
aga.rssparser.RSSReader.java
aga.rssparser.Utils.java
aga.rssparser.model.Enclosure.java
aga.rssparser.model.FieldTypeAware.java
aga.rssparser.model.RSSChannel.java
aga.rssparser.model.RSSItem.java
aga.rssparser.sample.MainActivity.java
aga.rssparser.sample.RSSItemAdapter.java
aga.rssparser.sample.ViewHolder.java