SwipeRevealLayout
SwipeRevealLayout copied to clipboard
onRestoreInstanceState not available in Fragment
onRestoreInstanceState not available in Fragment, What should I do for call?
you can restore the instance state in onViewStateRestored()
I don't see this as an issue as you still have:
if (savedInstanceState != null) {
if (productAdapter != null) {
productAdapter.restoreStates(savedInstanceState);
}
}
It should be known to you, the differences between an ActivityandFragment`.