app / com.otago.open / PDFItem

PDFItem

data class PDFItem

Data class for the PDF items in the PDFListFragment

Parameters

imageResource - The index of imageResource to use from project

pathType - The type of item at the path (folder, PDF, etc)

itemFile - The base directory for the paper (e.g. /data/android_stuff_here/cosc244/lectures.php/L1.pdf)

itemUrl - The URL for the item (e.g. https://cs.otago.ac.nz/cosc244/pdf/L1.php)

coscName - The name for the resource for the path (e.g. lectures.php -> Lectures and L1.pdf -> Introduction to Data Communications)

Constructors

<init>

Data class for the PDF items in the PDFListFragment

PDFItem(imageResource: Int, pathType: FileNavigatorType, itemFile: String, itemUrl: String, coscName: String)

Properties

coscName

The name for the resource for the path (e.g. lectures.php -> Lectures and L1.pdf -> Introduction to Data Communications)

val coscName: String

imageResource

The index of imageResource to use from project

val imageResource: Int

itemFile

The base directory for the paper (e.g. /data/android_stuff_here/cosc244/lectures.php/L1.pdf)

val itemFile: String

itemUrl

The URL for the item (e.g. https://cs.otago.ac.nz/cosc244/pdf/L1.php)

val itemUrl: String

pathType

The type of item at the path (folder, PDF, etc)

val pathType: FileNavigatorType