Skip to content

Latest commit

 

History

History
58 lines (38 loc) · 2.88 KB

File metadata and controls

58 lines (38 loc) · 2.88 KB

pickcore / com.lovoo.android.pickcore.model / Gallery

Gallery

data class Gallery : Parcelable (source)

Model class that represents an PickPic Gallery Folder.

Parameters

id - the gallery Identifier

coverPath - the path to the cover image

name - the gallery name

count - the amount of pictures within this gallery

Types

Name Summary
CREATOR companion object CREATOR : Creator<Gallery>

Constructors

Name Summary
<init> Gallery(parcel: Parcel)``Gallery(id: String, coverPath: String, name: String, count: Long)
Model class that represents an PickPic Gallery Folder.

Properties

Name Summary
count val count: Long
the amount of pictures within this gallery
coverPath val coverPath: String
the path to the cover image
id val id: String
the gallery Identifier
name val name: String
the gallery name

Functions

Name Summary
describeContents fun describeContents(): Int
writeToParcel fun writeToParcel(parcel: Parcel, flags: Int): Unit

Companion Object Functions

Name Summary
createFromParcel fun createFromParcel(parcel: Parcel): Gallery
newArray fun newArray(size: Int): Array<Gallery?>

Extension Functions

Name Summary
convertToLib fun Gallery.convertToLib(): GalleryLib
Convert a PickPic Gallery to Library Gallery