package xyz.igorgee.imagecreatorg3dx;

import android.os.Bundle;

import com.badlogic.gdx.backends.android.AndroidApplication;
import com.badlogic.gdx.backends.android.AndroidApplicationConfiguration;

import java.io.File;

import xyz.igorgee.imagecreator3d.ModelViewer;

public class ObjectViewer extends AndroidApplication {
	@Override
	protected void onCreate (Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

		File object = (File) getIntent().getExtras().get("model");

		AndroidApplicationConfiguration config = new AndroidApplicationConfiguration();
		initialize(new ModelViewer(object), config);
	}
}

@@ -618,11 +618,99 @@
 fig);%0A%09%7D
+%0A%0A%09@Override%0A%09public void onBackPressed() %7B%0A%09%09super.onBackPressed();%0A%09%09this.finish();%0A%09%7D
 %0A%7D%0A

Fix memory leak issue