Android-x86
Fork
Faire un don

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-koush-Widgets: Commit

external/koush/Widgets


Commit MetaInfo

Révisiona3c5c1e9d25fc6b5600b195f15661d0bb2480c61 (tree)
l'heure2019-12-24 11:37:14
AuteurChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Message de Log

Replace android.support.v4.app by AndroidX

AndroidX is a major improvement to the original Android Support Library,
which is no longer maintained.

Change Summary

Modification

--- a/Widgets/src/com/koushikdutta/widgets/BetterListActivity.java
+++ b/Widgets/src/com/koushikdutta/widgets/BetterListActivity.java
@@ -17,8 +17,8 @@
1717 package com.koushikdutta.widgets;
1818
1919 import android.os.Bundle;
20-import android.support.v4.app.FragmentActivity;
2120 import android.view.View;
21+import androidx.fragment.app.FragmentActivity;
2222
2323 import com.koushikdutta.widgets.BetterListFragmentInternal.ActivityBaseFragmentListener;
2424
--- a/Widgets/src/com/koushikdutta/widgets/ListContentFragmentInternal.java
+++ b/Widgets/src/com/koushikdutta/widgets/ListContentFragmentInternal.java
@@ -20,14 +20,14 @@ import android.annotation.SuppressLint;
2020 import android.app.Activity;
2121 import android.content.res.Configuration;
2222 import android.os.Bundle;
23-import android.support.v4.app.Fragment;
24-import android.support.v4.app.FragmentActivity;
25-import android.support.v4.app.FragmentManager;
26-import android.support.v4.app.FragmentManager.OnBackStackChangedListener;
27-import android.support.v4.app.FragmentTransaction;
2823 import android.view.View;
2924 import android.view.ViewGroup;
3025 import android.widget.ListView;
26+import androidx.fragment.app.Fragment;
27+import androidx.fragment.app.FragmentActivity;
28+import androidx.fragment.app.FragmentManager;
29+import androidx.fragment.app.FragmentManager.OnBackStackChangedListener;
30+import androidx.fragment.app.FragmentTransaction;
3131
3232 public class ListContentFragmentInternal extends BetterListFragmentInternal {
3333 ViewGroup mContent;
--- a/Widgets/src/com/koushikdutta/widgets/NativeFragment.java
+++ b/Widgets/src/com/koushikdutta/widgets/NativeFragment.java
@@ -17,7 +17,6 @@
1717 package com.koushikdutta.widgets;
1818
1919 import android.app.Activity;
20-import android.app.Fragment;
2120 import android.content.Context;
2221 import android.content.res.Configuration;
2322 import android.os.Bundle;
@@ -26,6 +25,7 @@ import android.view.Menu;
2625 import android.view.MenuInflater;
2726 import android.view.View;
2827 import android.view.ViewGroup;
28+import androidx.fragment.app.Fragment;
2929
3030
3131 public abstract class NativeFragment<T extends FragmentInterface> extends Fragment implements FragmentInterfaceWrapper {
--- a/Widgets/src/com/koushikdutta/widgets/SupportFragment.java
+++ b/Widgets/src/com/koushikdutta/widgets/SupportFragment.java
@@ -20,12 +20,12 @@ import android.app.Activity;
2020 import android.content.Context;
2121 import android.content.res.Configuration;
2222 import android.os.Bundle;
23-import android.support.v4.app.Fragment;
2423 import android.view.LayoutInflater;
2524 import android.view.Menu;
2625 import android.view.MenuInflater;
2726 import android.view.View;
2827 import android.view.ViewGroup;
28+import androidx.fragment.app.Fragment;
2929
3030
3131 public abstract class SupportFragment<T extends FragmentInterface> extends Fragment implements FragmentInterfaceWrapper {
Afficher sur ancien navigateur de dépôt.