diff options
author | Christian Schneppe <christian@pix-art.de> | 2019-09-20 17:54:28 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2019-09-20 17:54:28 +0200 |
commit | b26b5d01feef6feb06f2414e7034e6cb5e648406 (patch) | |
tree | a27105b5b48ce62ff01680dfdef91ffc1dde6749 /src/main/java/de/pixart/messenger/ui/util | |
parent | e0989e7a82f65c32d655db266f67fcdc90dba77b (diff) |
migrate to AndroidX
Diffstat (limited to 'src/main/java/de/pixart/messenger/ui/util')
9 files changed, 12 insertions, 12 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/util/AvatarWorkerTask.java b/src/main/java/de/pixart/messenger/ui/util/AvatarWorkerTask.java index afddb7e8b..54cb3c2a1 100644 --- a/src/main/java/de/pixart/messenger/ui/util/AvatarWorkerTask.java +++ b/src/main/java/de/pixart/messenger/ui/util/AvatarWorkerTask.java @@ -5,7 +5,7 @@ import android.graphics.Bitmap; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawable; import android.os.AsyncTask; -import android.support.annotation.DimenRes; +import androidx.annotation.DimenRes; import android.widget.ImageView; import java.lang.ref.WeakReference; diff --git a/src/main/java/de/pixart/messenger/ui/util/ConversationMenuConfigurator.java b/src/main/java/de/pixart/messenger/ui/util/ConversationMenuConfigurator.java index 07a03fbab..39fc09241 100644 --- a/src/main/java/de/pixart/messenger/ui/util/ConversationMenuConfigurator.java +++ b/src/main/java/de/pixart/messenger/ui/util/ConversationMenuConfigurator.java @@ -31,7 +31,7 @@ package de.pixart.messenger.ui.util; import android.content.Context; import android.content.pm.PackageManager; -import android.support.annotation.NonNull; +import androidx.annotation.NonNull; import android.view.Menu; import android.view.MenuItem; diff --git a/src/main/java/de/pixart/messenger/ui/util/DelayedHintHelper.java b/src/main/java/de/pixart/messenger/ui/util/DelayedHintHelper.java index c289b6673..23da87a50 100644 --- a/src/main/java/de/pixart/messenger/ui/util/DelayedHintHelper.java +++ b/src/main/java/de/pixart/messenger/ui/util/DelayedHintHelper.java @@ -30,7 +30,7 @@ package de.pixart.messenger.ui.util; import android.os.Handler; -import android.support.annotation.StringRes; +import androidx.annotation.StringRes; import android.widget.EditText; public class DelayedHintHelper { diff --git a/src/main/java/de/pixart/messenger/ui/util/GridManager.java b/src/main/java/de/pixart/messenger/ui/util/GridManager.java index 9cad626ff..aa88e98d9 100644 --- a/src/main/java/de/pixart/messenger/ui/util/GridManager.java +++ b/src/main/java/de/pixart/messenger/ui/util/GridManager.java @@ -1,9 +1,9 @@ package de.pixart.messenger.ui.util; import android.content.Context; -import android.support.annotation.DimenRes; -import android.support.v7.widget.GridLayoutManager; -import android.support.v7.widget.RecyclerView; +import androidx.annotation.DimenRes; +import androidx.recyclerview.widget.GridLayoutManager; +import androidx.recyclerview.widget.RecyclerView; import android.util.Log; import android.view.ViewTreeObserver; diff --git a/src/main/java/de/pixart/messenger/ui/util/JidDialog.java b/src/main/java/de/pixart/messenger/ui/util/JidDialog.java index 291bb873c..1101f7b70 100644 --- a/src/main/java/de/pixart/messenger/ui/util/JidDialog.java +++ b/src/main/java/de/pixart/messenger/ui/util/JidDialog.java @@ -1,7 +1,7 @@ package de.pixart.messenger.ui.util; import android.content.Context; -import android.support.annotation.StringRes; +import androidx.annotation.StringRes; import android.text.SpannableString; import android.text.Spanned; import android.text.style.TypefaceSpan; diff --git a/src/main/java/de/pixart/messenger/ui/util/MucConfiguration.java b/src/main/java/de/pixart/messenger/ui/util/MucConfiguration.java index 6c3235d5a..1d4f4168b 100644 --- a/src/main/java/de/pixart/messenger/ui/util/MucConfiguration.java +++ b/src/main/java/de/pixart/messenger/ui/util/MucConfiguration.java @@ -2,7 +2,7 @@ package de.pixart.messenger.ui.util; import android.content.Context; import android.os.Bundle; -import android.support.annotation.StringRes; +import androidx.annotation.StringRes; import de.pixart.messenger.R; import de.pixart.messenger.entities.MucOptions; diff --git a/src/main/java/de/pixart/messenger/ui/util/MucDetailsContextMenuHelper.java b/src/main/java/de/pixart/messenger/ui/util/MucDetailsContextMenuHelper.java index 2e01a6f7e..2abff6973 100644 --- a/src/main/java/de/pixart/messenger/ui/util/MucDetailsContextMenuHelper.java +++ b/src/main/java/de/pixart/messenger/ui/util/MucDetailsContextMenuHelper.java @@ -2,7 +2,7 @@ package de.pixart.messenger.ui.util; import android.app.Activity; import android.preference.PreferenceManager; -import android.support.v7.app.AlertDialog; +import androidx.appcompat.app.AlertDialog; import android.text.SpannableString; import android.text.Spanned; import android.text.style.TypefaceSpan; diff --git a/src/main/java/de/pixart/messenger/ui/util/SoftKeyboardUtils.java b/src/main/java/de/pixart/messenger/ui/util/SoftKeyboardUtils.java index 86753ac4a..01da1080d 100644 --- a/src/main/java/de/pixart/messenger/ui/util/SoftKeyboardUtils.java +++ b/src/main/java/de/pixart/messenger/ui/util/SoftKeyboardUtils.java @@ -30,7 +30,7 @@ package de.pixart.messenger.ui.util; import android.app.Activity; import android.content.Context; -import android.support.annotation.NonNull; +import androidx.annotation.NonNull; import android.view.View; import android.view.inputmethod.InputMethodManager; import android.widget.EditText; diff --git a/src/main/java/de/pixart/messenger/ui/util/StyledAttributes.java b/src/main/java/de/pixart/messenger/ui/util/StyledAttributes.java index cd4ad3e49..9d627edd8 100644 --- a/src/main/java/de/pixart/messenger/ui/util/StyledAttributes.java +++ b/src/main/java/de/pixart/messenger/ui/util/StyledAttributes.java @@ -32,8 +32,8 @@ package de.pixart.messenger.ui.util; import android.content.Context; import android.content.res.TypedArray; -import android.support.annotation.AttrRes; -import android.support.annotation.ColorInt; +import androidx.annotation.AttrRes; +import androidx.annotation.ColorInt; public class StyledAttributes { public static android.graphics.drawable.Drawable getDrawable(Context context, @AttrRes int id) { |