diff options
author | Andrew Dolgov <[email protected]> | 2014-10-17 00:17:34 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2014-10-17 00:17:34 +0400 |
commit | 8f6ca0eec07c077269d97edaf9c89f2eaf3fc115 (patch) | |
tree | b2b744b1f11435820f9be54e78b290f810ffd8ff /orgfoxttrss/src/main/java/android/support/v4/app/ClassloaderWorkaroundFragmentStatePagerAdapter.java | |
parent | 97cc96839d31b6cce59ec29a6681c6fe802552ee (diff) |
rename main module
Diffstat (limited to 'orgfoxttrss/src/main/java/android/support/v4/app/ClassloaderWorkaroundFragmentStatePagerAdapter.java')
-rw-r--r-- | orgfoxttrss/src/main/java/android/support/v4/app/ClassloaderWorkaroundFragmentStatePagerAdapter.java | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/orgfoxttrss/src/main/java/android/support/v4/app/ClassloaderWorkaroundFragmentStatePagerAdapter.java b/orgfoxttrss/src/main/java/android/support/v4/app/ClassloaderWorkaroundFragmentStatePagerAdapter.java deleted file mode 100644 index dd67d599..00000000 --- a/orgfoxttrss/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; - } - -} |