From ad9bf4849b3274a26dfa8e6032375e5cd982f064 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Wed, 21 Jun 2017 23:13:30 -0700 Subject: Move changelog components back to kau --- library/src/main/kotlin/ca/allanwang/kau/changelog/Changelog.kt | 5 ++++- library/src/main/kotlin/ca/allanwang/kau/utils/ContextUtils.kt | 5 ++--- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'library/src/main/kotlin') diff --git a/library/src/main/kotlin/ca/allanwang/kau/changelog/Changelog.kt b/library/src/main/kotlin/ca/allanwang/kau/changelog/Changelog.kt index ae4c8f9..bca9b12 100644 --- a/library/src/main/kotlin/ca/allanwang/kau/changelog/Changelog.kt +++ b/library/src/main/kotlin/ca/allanwang/kau/changelog/Changelog.kt @@ -1,4 +1,4 @@ -package com.pitchedapps.frost.utils +package ca.allanwang.kau.changelog import android.content.Context import android.content.res.XmlResourceParser @@ -15,6 +15,9 @@ import org.xmlpull.v1.XmlPullParser /** * Created by Allan Wang on 2017-05-28. + * + * Internals of the changelog dialog + * Contains an adapter for each item, as well as the tags to parse */ internal class ChangelogAdapter(val items: List>) : RecyclerView.Adapter() { diff --git a/library/src/main/kotlin/ca/allanwang/kau/utils/ContextUtils.kt b/library/src/main/kotlin/ca/allanwang/kau/utils/ContextUtils.kt index 9508173..5d10b3e 100644 --- a/library/src/main/kotlin/ca/allanwang/kau/utils/ContextUtils.kt +++ b/library/src/main/kotlin/ca/allanwang/kau/utils/ContextUtils.kt @@ -3,7 +3,6 @@ package ca.allanwang.kau.utils import android.app.Activity import android.content.Context import android.content.Intent -import android.graphics.Color import android.graphics.drawable.Drawable import android.net.ConnectivityManager import android.os.Bundle @@ -15,8 +14,8 @@ import android.util.TypedValue import android.widget.Toast import ca.allanwang.kau.R import com.afollestad.materialdialogs.MaterialDialog -import com.pitchedapps.frost.utils.ChangelogAdapter -import com.pitchedapps.frost.utils.parse +import ca.allanwang.kau.changelog.ChangelogAdapter +import ca.allanwang.kau.changelog.parse import java.util.* /** -- cgit v1.2.3