diff options
Diffstat (limited to 'app/src')
64 files changed, 64 insertions, 64 deletions
diff --git a/app/src/main/java/org/pacien/tincapp/activities/BaseActivity.kt b/app/src/main/java/org/pacien/tincapp/activities/BaseActivity.kt index 31ab1d0..f92c111 100644 --- a/app/src/main/java/org/pacien/tincapp/activities/BaseActivity.kt +++ b/app/src/main/java/org/pacien/tincapp/activities/BaseActivity.kt | |||
@@ -32,7 +32,7 @@ import org.pacien.tincapp.context.App | |||
32 | import org.pacien.tincapp.context.AppInfo | 32 | import org.pacien.tincapp.context.AppInfo |
33 | 33 | ||
34 | /** | 34 | /** |
35 | * @author pacien | 35 | * @author euxane |
36 | */ | 36 | */ |
37 | abstract class BaseActivity : AppCompatActivity() { | 37 | abstract class BaseActivity : AppCompatActivity() { |
38 | private val rootView by lazy { base_activity_frame!! } | 38 | private val rootView by lazy { base_activity_frame!! } |
diff --git a/app/src/main/java/org/pacien/tincapp/activities/BaseDialogFragment.kt b/app/src/main/java/org/pacien/tincapp/activities/BaseDialogFragment.kt index 1f8b432..12c2630 100644 --- a/app/src/main/java/org/pacien/tincapp/activities/BaseDialogFragment.kt +++ b/app/src/main/java/org/pacien/tincapp/activities/BaseDialogFragment.kt | |||
@@ -26,7 +26,7 @@ import android.view.View | |||
26 | import android.view.ViewGroup | 26 | import android.view.ViewGroup |
27 | 27 | ||
28 | /** | 28 | /** |
29 | * @author pacien | 29 | * @author euxane |
30 | */ | 30 | */ |
31 | abstract class BaseDialogFragment : DialogFragment() { | 31 | abstract class BaseDialogFragment : DialogFragment() { |
32 | protected val parentActivity by lazy { activity as BaseActivity } | 32 | protected val parentActivity by lazy { activity as BaseActivity } |
diff --git a/app/src/main/java/org/pacien/tincapp/activities/BaseFragment.kt b/app/src/main/java/org/pacien/tincapp/activities/BaseFragment.kt index 2cde194..dda783b 100644 --- a/app/src/main/java/org/pacien/tincapp/activities/BaseFragment.kt +++ b/app/src/main/java/org/pacien/tincapp/activities/BaseFragment.kt | |||
@@ -26,7 +26,7 @@ import android.view.ViewGroup | |||
26 | import kotlinx.android.synthetic.main.base_activity.* | 26 | import kotlinx.android.synthetic.main.base_activity.* |
27 | 27 | ||
28 | /** | 28 | /** |
29 | * @author pacien | 29 | * @author euxane |
30 | */ | 30 | */ |
31 | abstract class BaseFragment : Fragment() { | 31 | abstract class BaseFragment : Fragment() { |
32 | private val rootView by lazy { base_activity_frame } | 32 | private val rootView by lazy { base_activity_frame } |
diff --git a/app/src/main/java/org/pacien/tincapp/activities/common/FragmentListPagerAdapter.kt b/app/src/main/java/org/pacien/tincapp/activities/common/FragmentListPagerAdapter.kt index 856888e..601d364 100644 --- a/app/src/main/java/org/pacien/tincapp/activities/common/FragmentListPagerAdapter.kt +++ b/app/src/main/java/org/pacien/tincapp/activities/common/FragmentListPagerAdapter.kt | |||
@@ -25,7 +25,7 @@ import org.pacien.tincapp.context.App | |||
25 | 25 | ||
26 | /** | 26 | /** |
27 | * @param pages ordered list of title and fragment pairs | 27 | * @param pages ordered list of title and fragment pairs |
28 | * @author pacien | 28 | * @author euxane |
29 | */ | 29 | */ |
30 | class FragmentListPagerAdapter(private val pages: List<Pair<Int, BaseFragment>>, | 30 | class FragmentListPagerAdapter(private val pages: List<Pair<Int, BaseFragment>>, |
31 | fragmentManager: FragmentManager) : FragmentPagerAdapter(fragmentManager) { | 31 | fragmentManager: FragmentManager) : FragmentPagerAdapter(fragmentManager) { |
diff --git a/app/src/main/java/org/pacien/tincapp/activities/common/ProgressModal.kt b/app/src/main/java/org/pacien/tincapp/activities/common/ProgressModal.kt index 7fbca6c..c3339b3 100644 --- a/app/src/main/java/org/pacien/tincapp/activities/common/ProgressModal.kt +++ b/app/src/main/java/org/pacien/tincapp/activities/common/ProgressModal.kt | |||
@@ -29,7 +29,7 @@ import org.pacien.tincapp.R | |||
29 | /** | 29 | /** |
30 | * An indefinite progress dialog replacing the deprecated `android.app.ProgressDialog`. | 30 | * An indefinite progress dialog replacing the deprecated `android.app.ProgressDialog`. |
31 | * | 31 | * |
32 | * @author pacien | 32 | * @author euxane |
33 | */ | 33 | */ |
34 | object ProgressModal { | 34 | object ProgressModal { |
35 | fun show(context: Activity, text: String): AlertDialog { | 35 | fun show(context: Activity, text: String): AlertDialog { |
diff --git a/app/src/main/java/org/pacien/tincapp/activities/common/RecentCrashHandler.kt b/app/src/main/java/org/pacien/tincapp/activities/common/RecentCrashHandler.kt index 4cb892b..8f53e08 100644 --- a/app/src/main/java/org/pacien/tincapp/activities/common/RecentCrashHandler.kt +++ b/app/src/main/java/org/pacien/tincapp/activities/common/RecentCrashHandler.kt | |||
@@ -28,7 +28,7 @@ import org.pacien.tincapp.context.CrashRecorder | |||
28 | import java.io.File | 28 | import java.io.File |
29 | 29 | ||
30 | /** | 30 | /** |
31 | * @author pacien | 31 | * @author euxane |
32 | */ | 32 | */ |
33 | class RecentCrashHandler(private val parentActivity: BaseActivity) { | 33 | class RecentCrashHandler(private val parentActivity: BaseActivity) { |
34 | private val resources by lazy { parentActivity.resources!! } | 34 | private val resources by lazy { parentActivity.resources!! } |
diff --git a/app/src/main/java/org/pacien/tincapp/activities/common/SelfRefreshingLiveData.kt b/app/src/main/java/org/pacien/tincapp/activities/common/SelfRefreshingLiveData.kt index f368ef3..8dacd5d 100644 --- a/app/src/main/java/org/pacien/tincapp/activities/common/SelfRefreshingLiveData.kt +++ b/app/src/main/java/org/pacien/tincapp/activities/common/SelfRefreshingLiveData.kt | |||
@@ -24,7 +24,7 @@ import java.util.concurrent.ScheduledFuture | |||
24 | import java.util.concurrent.TimeUnit | 24 | import java.util.concurrent.TimeUnit |
25 | 25 | ||
26 | /** | 26 | /** |
27 | * @author pacien | 27 | * @author euxane |
28 | */ | 28 | */ |
29 | abstract class SelfRefreshingLiveData<T>(private val refreshInterval: Long, private val timeUnit: TimeUnit) : LiveData<T>() { | 29 | abstract class SelfRefreshingLiveData<T>(private val refreshInterval: Long, private val timeUnit: TimeUnit) : LiveData<T>() { |
30 | private val scheduledExecutor = Executors.newSingleThreadScheduledExecutor() |