Android Open Source - FluidGridAdapter Fluid Photo Row






From Project

Back to project page FluidGridAdapter.

License

The source code is released under:

Apache License

If you think the Android project FluidGridAdapter 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 Cluster Labs, Inc./* www  .  j  a v a 2s.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.getcluster.models;

import java.util.ArrayList;

public class FluidPhotoRow{
  private ArrayList<ImageData> imageDatas;
  private int rowHeight;

  public FluidPhotoRow(ArrayList<ImageData> imageDatas, int rowHeight){
    setImageData(imageDatas);
    setRowHeight(rowHeight);
  }
  

  public ArrayList<ImageData> getImageDatas() {
    return imageDatas;
  }


  public void setImageData(ArrayList<ImageData> imageDatas) {
    this.imageDatas = imageDatas;
  }


  public int getRowHeight() {
    return rowHeight;
  }

  public void setRowHeight(int rowHeight) {
    this.rowHeight = rowHeight;
  }
}




Java Source Code List

com.getcluster.adapter.FluidGridAdapter.java
com.getcluster.fluidgridsample.DevicePhotosSampleActivity.java
com.getcluster.models.FluidPhotoRow.java
com.getcluster.models.ImageData.java