// Path: app/src/main/java/com/github/cchao/touchnews/javaBean/news/Contentlist.java
// public class Contentlist implements Serializable {
//     private static final long serialVersionUID = -7060210544600464481L;
//     private String channelId;
// 
//     private String channelName;
// 
//     private String desc;
// 
//     private List<Imageurls> imageurls;
// 
//     private String link;
// 
//     private String nid;
// 
//     private String pubDate;
// 
//     private String source;
// 
//     private String title;
// 
//     public void setChannelId(String channelId) {
//         this.channelId = channelId;
//     }
// 
//     public String getChannelId() {
//         return this.channelId;
//     }
// 
//     public void setChannelName(String channelName) {
//         this.channelName = channelName;
//     }
// 
//     public String getChannelName() {
//         return this.channelName;
//     }
// 
//     public void setDesc(String desc) {
//         this.desc = desc;
//     }
// 
//     public String getDesc() {
//         return this.desc;
//     }
// 
//     public void setImageurls(List<Imageurls> imageurls) {
//         this.imageurls = imageurls;
//     }
// 
//     public List<Imageurls> getImageurls() {
//         return this.imageurls;
//     }
// 
//     public void setLink(String link) {
//         this.link = link;
//     }
// 
//     public String getLink() {
//         return this.link;
//     }
// 
//     public void setNid(String nid) {
//         this.nid = nid;
//     }
// 
//     public String getNid() {
//         return this.nid;
//     }
// 
//     public void setPubDate(String pubDate) {
//         this.pubDate = pubDate;
//     }
// 
//     public String getPubDate() {
//         return this.pubDate;
//     }
// 
//     public void setSource(String source) {
//         this.source = source;
//     }
// 
//     public String getSource() {
//         return this.source;
//     }
// 
//     public void setTitle(String title) {
//         this.title = title;
//     }
// 
//     public String getTitle() {
//         return this.title;
//     }
// 
// }
// 
// Path: app/src/main/java/com/github/cchao/touchnews/util/Constant.java
// public class Constant {
//     /**
//      * 显示提示信息给用户 e.g. 没有网络、正在加载、异常
//      *
//      * @see
//      */
//     public enum INFO_TYPE {
//         NO_NET, ALERT, LOADING, EMPTY, ORIGIN
//     }
// 
// }


import com.github.cchao.touchnews.javaBean.news.Contentlist;
import com.github.cchao.touchnews.util.Constant;
import java.util.List;
/*
 * Copyright 2016, The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.github.cchao.touchnews.contract;



/**
 * 绑定News List数据的 view、presenter
 */
public interface NewListDataContract {

    interface View {
        /**
         * 获取数据
         *
         * @param newsList newsList
         */
// Path: app/src/main/java/com/github/cchao/touchnews/javaBean/news/Contentlist.java
// public class Contentlist implements Serializable {
//     private static final long serialVersionUID = -7060210544600464481L;
//     private String channelId;
// 
//     private String channelName;
// 
//     private String desc;
// 
//     private List<Imageurls> imageurls;
// 
//     private String link;
// 
//     private String nid;
// 
//     private String pubDate;
// 
//     private String source;
// 
//     private String title;
// 
//     public void setChannelId(String channelId) {
//         this.channelId = channelId;
//     }
// 
//     public String getChannelId() {
//         return this.channelId;
//     }
// 
//     public void setChannelName(String channelName) {
//         this.channelName = channelName;
//     }
// 
//     public String getChannelName() {
//         return this.channelName;
//     }
// 
//     public void setDesc(String desc) {
//         this.desc = desc;
//     }
// 
//     public String getDesc() {
//         return this.desc;
//     }
// 
//     public void setImageurls(List<Imageurls> imageurls) {
//         this.imageurls = imageurls;
//     }
// 
//     public List<Imageurls> getImageurls() {
//         return this.imageurls;
//     }
// 
//     public void setLink(String link) {
//         this.link = link;
//     }
// 
//     public String getLink() {
//         return this.link;
//     }
// 
//     public void setNid(String nid) {
//         this.nid = nid;
//     }
// 
//     public String getNid() {
//         return this.nid;
//     }
// 
//     public void setPubDate(String pubDate) {
//         this.pubDate = pubDate;
//     }
// 
//     public String getPubDate() {
//         return this.pubDate;
//     }
// 
//     public void setSource(String source) {
//         this.source = source;
//     }
// 
//     public String getSource() {
//         return this.source;
//     }
// 
//     public void setTitle(String title) {
//         this.title = title;
//     }
// 
//     public String getTitle() {
//         return this.title;
//     }
// 
// }
// 
// Path: app/src/main/java/com/github/cchao/touchnews/util/Constant.java
// public class Constant {
//     /**
//      * 显示提示信息给用户 e.g. 没有网络、正在加载、异常
//      *
//      * @see
//      */
//     public enum INFO_TYPE {
//         NO_NET, ALERT, LOADING, EMPTY, ORIGIN
//     }
// 
// }


// Path: app/src/main/java/com/github/cchao/touchnews/contract/NewListDataContract.java
import com.github.cchao.touchnews.javaBean.news.Contentlist;
import com.github.cchao.touchnews.util.Constant;
import java.util.List;

/*
 * Copyright 2016, The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.github.cchao.touchnews.contract;



/**
 * 绑定News List数据的 view、presenter
 */
public interface NewListDataContract {

    interface View {
        /**
         * 获取数据
         *
         * @param newsList newsList
         */
        void onRefreshData(List<Contentlist> newsList);