// Path: app/src/main/java/com/calgen/prodek/fadflicks/Fragment/ReviewDetailFragment.java
// public class ReviewDetailFragment extends Fragment {
//     //@formatter:off
//     @BindView(R.id.review_author) public TextView reviewAuthor;
//     @BindView(R.id.review_text) public TextView reviewText;
//     //@formatter:on
//     private Review review;
// 
//     @Override
//     public void onCreate(@Nullable Bundle savedInstanceState) {
//         super.onCreate(savedInstanceState);
//         review = (Review) getArguments().getSerializable(Intent.EXTRA_TEXT);
//     }
// 
// 
//     @Override
//     public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
//         View rootView = inflater.inflate(R.layout.review_detail, container, false);
//         ButterKnife.bind(this, rootView);
//         reviewAuthor.setText(review.getAuthor());
//         reviewText.setText(review.getContent());
//         Linkify.addLinks(reviewText, Linkify.ALL);
//         return rootView;
//     }
// }
// 
// Path: app/src/main/java/com/calgen/prodek/fadflicks/model/Review.java
// public class Review implements Serializable{
// 
//     @SerializedName("id")
//     @Expose
//     private String id;
//     @SerializedName("author")
//     @Expose
//     private String author;
//     @SerializedName("content")
//     @Expose
//     private String content;
//     @SerializedName("url")
//     @Expose
//     private String url;
// 
//     /**
//      * No args constructor for use in serialization
//      * 
//      */
//     public Review() {
//     }
// 
//     /**
//      * 
//      * @param content
//      * @param id
//      * @param author
//      * @param url
//      */
//     public Review(String id, String author, String content, String url) {
//         this.id = id;
//         this.author = author;
//         this.content = content;
//         this.url = url;
//     }
// 
//     /**
//      * 
//      * @return
//      *     The id
//      */
//     public String getId() {
//         return id;
//     }
// 
//     /**
//      * 
//      * @param id
//      *     The id
//      */
//     public void setId(String id) {
//         this.id = id;
//     }
// 
//     /**
//      * 
//      * @return
//      *     The author
//      */
//     public String getAuthor() {
//         return author;
//     }
// 
//     /**
//      * 
//      * @param author
//      *     The author
//      */
//     public void setAuthor(String author) {
//         this.author = author;
//     }
// 
//     /**
//      * 
//      * @return
//      *     The content
//      */
//     public String getContent() {
//         return content;
//     }
// 
//     /**
//      * 
//      * @param content
//      *     The content
//      */
//     public void setContent(String content) {
//         this.content = content;
//     }
// 
//     /**
//      * 
//      * @return
//      *     The url
//      */
//     public String getUrl() {
//         return url;
//     }
// 
//     /**
//      * 
//      * @param url
//      *     The url
//      */
//     public void setUrl(String url) {
//         this.url = url;
//     }
// 
// }


import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.View;
import com.calgen.prodek.fadflicks.R;
import com.calgen.prodek.fadflicks.fragment.ReviewDetailFragment;
import com.calgen.prodek.fadflicks.model.Review;
import butterknife.BindView;
import butterknife.ButterKnife;
/*
 *    Copyright 2016 Gurupad Mamadapur
 *
 *    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.calgen.prodek.fadflicks.activity;




/**
 * Created by Gurupad Mamadapur on 10/31/2016.
 */
public class ReviewDetailActivity extends AppCompatActivity {

    //@formatter:off
    @BindView(R.id.toolbar) public Toolbar toolbar;
    //@formatter:on

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_review_detail);
        ButterKnife.bind(this);

// Path: app/src/main/java/com/calgen/prodek/fadflicks/Fragment/ReviewDetailFragment.java
// public class ReviewDetailFragment extends Fragment {
//     //@formatter:off
//     @BindView(R.id.review_author) public TextView reviewAuthor;
//     @BindView(R.id.review_text) public TextView reviewText;
//     //@formatter:on
//     private Review review;
// 
//     @Override
//     public void onCreate(@Nullable Bundle savedInstanceState) {
//         super.onCreate(savedInstanceState);
//         review = (Review) getArguments().getSerializable(Intent.EXTRA_TEXT);
//     }
// 
// 
//     @Override
//     public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
//         View rootView = inflater.inflate(R.layout.review_detail, container, false);
//         ButterKnife.bind(this, rootView);
//         reviewAuthor.setText(review.getAuthor());
//         reviewText.setText(review.getContent());
//         Linkify.addLinks(reviewText, Linkify.ALL);
//         return rootView;
//     }
// }
// 
// Path: app/src/main/java/com/calgen/prodek/fadflicks/model/Review.java
// public class Review implements Serializable{
// 
//     @SerializedName("id")
//     @Expose
//     private String id;
//     @SerializedName("author")
//     @Expose
//     private String author;
//     @SerializedName("content")
//     @Expose
//     private String content;
//     @SerializedName("url")
//     @Expose
//     private String url;
// 
//     /**
//      * No args constructor for use in serialization
//      * 
//      */
//     public Review() {
//     }
// 
//     /**
//      * 
//      * @param content
//      * @param id
//      * @param author
//      * @param url
//      */
//     public Review(String id, String author, String content, String url) {
//         this.id = id;
//         this.author = author;
//         this.content = content;
//         this.url = url;
//     }
// 
//     /**
//      * 
//      * @return
//      *     The id
//      */
//     public String getId() {
//         return id;
//     }
// 
//     /**
//      * 
//      * @param id
//      *     The id
//      */
//     public void setId(String id) {
//         this.id = id;
//     }
// 
//     /**
//      * 
//      * @return
//      *     The author
//      */
//     public String getAuthor() {
//         return author;
//     }
// 
//     /**
//      * 
//      * @param author
//      *     The author
//      */
//     public void setAuthor(String author) {
//         this.author = author;
//     }
// 
//     /**
//      * 
//      * @return
//      *     The content
//      */
//     public String getContent() {
//         return content;
//     }
// 
//     /**
//      * 
//      * @param content
//      *     The content
//      */
//     public void setContent(String content) {
//         this.content = content;
//     }
// 
//     /**
//      * 
//      * @return
//      *     The url
//      */
//     public String getUrl() {
//         return url;
//     }
// 
//     /**
//      * 
//      * @param url
//      *     The url
//      */
//     public void setUrl(String url) {
//         this.url = url;
//     }
// 
// }


// Path: app/src/main/java/com/calgen/prodek/fadflicks/Activity/ReviewDetailActivity.java
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.View;
import com.calgen.prodek.fadflicks.R;
import com.calgen.prodek.fadflicks.fragment.ReviewDetailFragment;
import com.calgen.prodek.fadflicks.model.Review;
import butterknife.BindView;
import butterknife.ButterKnife;

/*
 *    Copyright 2016 Gurupad Mamadapur
 *
 *    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.calgen.prodek.fadflicks.activity;




/**
 * Created by Gurupad Mamadapur on 10/31/2016.
 */
public class ReviewDetailActivity extends AppCompatActivity {

    //@formatter:off
    @BindView(R.id.toolbar) public Toolbar toolbar;
    //@formatter:on

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_review_detail);
        ButterKnife.bind(this);

        Review review = (Review) getIntent().getSerializableExtra(Intent.EXTRA_TEXT);