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