// Path: app/src/main/java/pl/edu/radomski/navigator/params/Book.java
// public class Book implements Parcelable {
//     private String bookName;
//     private String author;
//     private int publishTime;
// 
//     public String getBookName() {
//         return bookName;
//     }
// 
//     public void setBookName(String bookName) {
//         this.bookName = bookName;
//     }
// 
//     public String getAuthor() {
//         return author;
//     }
// 
//     public void setAuthor(String author) {
//         this.author = author;
//     }
// 
//     public int getPublishTime() {
//         return publishTime;
//     }
// 
//     public void setPublishTime(int publishTime) {
//         this.publishTime = publishTime;
//     }
// 
//     public static final Parcelable.Creator<Book> CREATOR = new Creator<Book>() {
//         public Book createFromParcel(Parcel source) {
//             Book mBook = new Book();
//             mBook.bookName = source.readString();
//             mBook.author = source.readString();
//             mBook.publishTime = source.readInt();
//             return mBook;
//         }
// 
//         public Book[] newArray(int size) {
//             return new Book[size];
//         }
//     };
// 
//     public int describeContents() {
//         return 0;
//     }
// 
//     public void writeToParcel(Parcel parcel, int flags) {
//         parcel.writeString(bookName);
//         parcel.writeString(author);
//         parcel.writeInt(publishTime);
//     }
// 
//     @Override
//     public String toString() {
//         return "Book{" +
//                 "bookName='" + bookName + '\'' +
//                 ", author='" + author + '\'' +
//                 ", publishTime=" + publishTime +
//                 '}';
//     }
// }
// 
// Path: app/src/main/java/pl/edu/radomski/navigator/params/Person.java
// public class Person implements Serializable {
//     private static final long serialVersionUID = -7060210544600464481L;
//     private String name;
//     private int age;
// 
//     public String getName() {
//         return name;
//     }
// 
//     public void setName(String name) {
//         this.name = name;
//     }
// 
//     public int getAge() {
//         return age;
//     }
// 
//     public void setAge(int age) {
//         this.age = age;
//     }
// 
//     @Override
//     public String toString() {
//         return "Person{" +
//                 "name='" + name + '\'' +
//                 ", age=" + age +
//                 '}';
//     }
// }


import pl.edu.radomski.navigator.Navigator;
import pl.edu.radomski.navigator.R;
import pl.edu.radomski.navigator.params.Book;
import pl.edu.radomski.navigator.params.Person;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import java.util.ArrayList;
import pl.edu.radomski.navigator.Navigable;
/*
 * Navigator
 * Copyright (C)  2015 Adam Radomski
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301
 * USA
 */

package pl.edu.radomski.navigator.examples;




/**
 * Created by adam on 8/24/15.
 */
public class BaseActivity extends Activity {
    public static final int PARAMS_FOR_RESULT_ACTIVITY = 5000;
    public static final int GROUPED_FOR_RESULT_ACTIVITY = 5001;
    public static final int FOR_RESULT_ACTIVITY = 5004;
    public static final int GROUPED_RESULTS_FOR_RESULT_ACTIVITY1 = 5005;
    public static final int GROUPED_RESULTS_FOR_RESULT_ACTIVITY2 = 5006;
    public static final int GROUPED_RESULTS_FOR_RESULT_ACTIVITY3 = 5007;
    public static final int WITH_RESULT_OPTION_ACTIVITY = 5008;
    public static final int NAMED_WITH_RESULT = 5009;

    private View.OnClickListener onClickListener = new View.OnClickListener() {
        @Override
        public void onClick(View v) {
// Path: app/src/main/java/pl/edu/radomski/navigator/params/Book.java
// public class Book implements Parcelable {
//     private String bookName;
//     private String author;
//     private int publishTime;
// 
//     public String getBookName() {
//         return bookName;
//     }
// 
//     public void setBookName(String bookName) {
//         this.bookName = bookName;
//     }
// 
//     public String getAuthor() {
//         return author;
//     }
// 
//     public void setAuthor(String author) {
//         this.author = author;
//     }
// 
//     public int getPublishTime() {
//         return publishTime;
//     }
// 
//     public void setPublishTime(int publishTime) {
//         this.publishTime = publishTime;
//     }
// 
//     public static final Parcelable.Creator<Book> CREATOR = new Creator<Book>() {
//         public Book createFromParcel(Parcel source) {
//             Book mBook = new Book();
//             mBook.bookName = source.readString();
//             mBook.author = source.readString();
//             mBook.publishTime = source.readInt();
//             return mBook;
//         }
// 
//         public Book[] newArray(int size) {
//             return new Book[size];
//         }
//     };
// 
//     public int describeContents() {
//         return 0;
//     }
// 
//     public void writeToParcel(Parcel parcel, int flags) {
//         parcel.writeString(bookName);
//         parcel.writeString(author);
//         parcel.writeInt(publishTime);
//     }
// 
//     @Override
//     public String toString() {
//         return "Book{" +
//                 "bookName='" + bookName + '\'' +
//                 ", author='" + author + '\'' +
//                 ", publishTime=" + publishTime +
//                 '}';
//     }
// }
// 
// Path: app/src/main/java/pl/edu/radomski/navigator/params/Person.java
// public class Person implements Serializable {
//     private static final long serialVersionUID = -7060210544600464481L;
//     private String name;
//     private int age;
// 
//     public String getName() {
//         return name;
//     }
// 
//     public void setName(String name) {
//         this.name = name;
//     }
// 
//     public int getAge() {
//         return age;
//     }
// 
//     public void setAge(int age) {
//         this.age = age;
//     }
// 
//     @Override
//     public String toString() {
//         return "Person{" +
//                 "name='" + name + '\'' +
//                 ", age=" + age +
//                 '}';
//     }
// }


// Path: app/src/main/java/pl/edu/radomski/navigator/examples/BaseActivity.java
import pl.edu.radomski.navigator.Navigator;
import pl.edu.radomski.navigator.R;
import pl.edu.radomski.navigator.params.Book;
import pl.edu.radomski.navigator.params.Person;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import java.util.ArrayList;
import pl.edu.radomski.navigator.Navigable;

/*
 * Navigator
 * Copyright (C)  2015 Adam Radomski
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301
 * USA
 */

package pl.edu.radomski.navigator.examples;




/**
 * Created by adam on 8/24/15.
 */
public class BaseActivity extends Activity {
    public static final int PARAMS_FOR_RESULT_ACTIVITY = 5000;
    public static final int GROUPED_FOR_RESULT_ACTIVITY = 5001;
    public static final int FOR_RESULT_ACTIVITY = 5004;
    public static final int GROUPED_RESULTS_FOR_RESULT_ACTIVITY1 = 5005;
    public static final int GROUPED_RESULTS_FOR_RESULT_ACTIVITY2 = 5006;
    public static final int GROUPED_RESULTS_FOR_RESULT_ACTIVITY3 = 5007;
    public static final int WITH_RESULT_OPTION_ACTIVITY = 5008;
    public static final int NAMED_WITH_RESULT = 5009;

    private View.OnClickListener onClickListener = new View.OnClickListener() {
        @Override
        public void onClick(View v) {
            Book book = new Book();