diff options
author | Andrew Dolgov <[email protected]> | 2019-02-08 10:29:41 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2019-02-08 10:29:41 +0300 |
commit | db32a684712369baa46216f9710dea6cb77799c5 (patch) | |
tree | d6f5b958eff5e593bf91b1bfb1e3a24f809a4149 /org.fox.ttrss/src/main/java/android/support/v4/app | |
parent | 406bf377c20606541ab6dc5464ca2009e41d9ffa (diff) |
migrate from android support library to androidx
set target sdk 28
Diffstat (limited to 'org.fox.ttrss/src/main/java/android/support/v4/app')
-rw-r--r-- | org.fox.ttrss/src/main/java/android/support/v4/app/ClassloaderWorkaroundFragmentStatePagerAdapter.java | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/org.fox.ttrss/src/main/java/android/support/v4/app/ClassloaderWorkaroundFragmentStatePagerAdapter.java b/org.fox.ttrss/src/main/java/android/support/v4/app/ClassloaderWorkaroundFragmentStatePagerAdapter.java deleted file mode 100644 index dd67d599..00000000 --- a/org.fox.ttrss/src/main/java/android/support/v4/app/ClassloaderWorkaroundFragmentStatePagerAdapter.java +++ /dev/null @@ -1,39 +0,0 @@ -package android.support.v4.app; - -// http://code.google.com/p/android/issues/detail?id=37484 -// Thanks for your amazing code quality, Google. - -import android.os.Bundle; -import android.view.ViewGroup; - -public class ClassloaderWorkaroundFragmentStatePagerAdapter extends - FragmentStatePagerAdapter { - - public ClassloaderWorkaroundFragmentStatePagerAdapter(FragmentManager fm) { - super(fm); - // TODO Auto-generated constructor stub - } - - @Override - public Fragment getItem(int arg0) { - // TODO Auto-generated method stub - return null; - } - - @Override - public Object instantiateItem(ViewGroup container, int position) { - Fragment f = (Fragment) super.instantiateItem(container, position); - Bundle savedFragmentState = f.mSavedFragmentState; - if (savedFragmentState != null) { - savedFragmentState.setClassLoader(f.getClass().getClassLoader()); - } - return f; - } - - @Override - public int getCount() { - // TODO Auto-generated method stub - return 0; - } - -} |