Android Open Source - Hackful-Europe-Reader H E Reader State






From Project

Back to project page Hackful-Europe-Reader.

License

The source code is released under:

Apache License

If you think the Android project Hackful-Europe-Reader 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

/*
Copyright 2012 Damin Serrano Thode (@dsthode)
//  ww w  . j av a2s.  c  o m
   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.nineducks.hereader;

import java.util.List;

import com.nineducks.hereader.ui.ListFragmentItem;

public class HEReaderState {
  
  private int currentSource;
  private List<ListFragmentItem> items;
  private int currentPage;
  
  public HEReaderState(int currentSource, List<ListFragmentItem> items, int currentPage) {
    this.currentSource = currentSource;
    this.items = items;
    this.currentPage = currentPage;
  }
  
  public int getCurrentSource() {
    return currentSource;
  }
  
  public List<ListFragmentItem> getItems() {
    return items;
  }
  
  public int getCurrentPage() {
    return currentPage;
  }
  
}




Java Source Code List

com.nineducks.hereader.AboutAction.java
com.nineducks.hereader.HEReaderState.java
com.nineducks.hereader.HackfulItemsController.java
com.nineducks.hereader.HackfulReaderActivity.java
com.nineducks.hereader.ItemsLoadedListener.java
com.nineducks.hereader.LoadAskItemsAction.java
com.nineducks.hereader.LoadFrontpageItemsAction.java
com.nineducks.hereader.LoadNewItemsAction.java
com.nineducks.hereader.NewsItemsLoaderTask.java
com.nineducks.hereader.ui.HEMessagesAdapter.java
com.nineducks.hereader.ui.ItemDetailsFragment.java
com.nineducks.hereader.ui.ListFragmentItem.java
com.nineducks.hereader.ui.NewsItemsFragment.java
com.nineducks.hereader.ui.ViewHolder.java
com.nineducks.util.rss.DateFormatter.java
com.nineducks.util.rss.HEMessage.java
com.nineducks.util.rss.RSSException.java
com.nineducks.util.rss.RSSProcessor.java