app / com.otago.open / PDFItem / <init>

<init>

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

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)