replace licenses dialog and about dialog with about fragment

This commit is contained in:
2020-12-05 21:03:14 +01:00
parent 77e657d37c
commit e34e5b2bbd
17 changed files with 1310 additions and 91 deletions

View File

@ -11,8 +11,23 @@ class DataTypes {
LIGHT("Light"),
DARK("Dark")
}
enum class License(val short: String, val long: String) {
APACHE2("AL 2.0", "Apache License Version 2.0"),
MIT("MIT", "MIT License"),
GPL3("GPL 3", "GNU General Public License Version 3"),
BSD2("BSD 2", "BSD 2-Clause License")
}
}
data class ThirdPartyComponent(
val name: String,
val year: String,
val copyrightOwner: String,
val link: String,
val license: DataTypes.License
)
/**
* this class is used to represent the item media
* it is uses in the ItemMediaAdapter (RecyclerView)