Android Open Source - FragmentListView Comment Item






From Project

Back to project page FragmentListView.

License

The source code is released under:

Apache License

If you think the Android project FragmentListView 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 2014-present findemor.es/*  w w w.j a  v  a2 s .  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.devergence.example.fraglistview.objects;

import java.io.Serializable;

/**
 * Esta clase implementa un objeto de demostracion para los comentarios
 * (Elementos secundarios) de la lista
 * @author findemor
 *
 */
@SuppressWarnings("serial")
public class CommentItem implements Serializable {

  private String author;
  private String body;
  
  public CommentItem (String author, String body)
  {
    this.author = author;
    this.body = body;
  }
  
  public String getAuthor()
  {
    return this.author;
  }
  
  public String getBody()
  {
    return this.body;
  }
}




Java Source Code List

com.devergence.example.fraglistview.MainActivity.java
com.devergence.example.fraglistview.adapters.FeaturedAdapter.java
com.devergence.example.fraglistview.fragments.FragmentFeatured.java
com.devergence.example.fraglistview.interfaces.FeaturedItemInterface.java
com.devergence.example.fraglistview.objects.CommentItem.java
com.devergence.example.fraglistview.objects.FeaturedItem.java
com.devergence.widget.fraglistview.adapter.BaseAdapter.java