mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2024-12-22 13:34:49 +01:00
fix picture deleting
This commit is contained in:
parent
6af43c0b81
commit
86a0495a2f
@ -21,7 +21,8 @@ public class ViewPagerFragment extends Fragment implements View.OnClickListener
|
||||
@Override
|
||||
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
|
||||
final View view = inflater.inflate(R.layout.pager_item, container, false);
|
||||
if (savedInstanceState != null) {
|
||||
|
||||
if (path == null && savedInstanceState != null) {
|
||||
path = savedInstanceState.getString(PATH);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user