diff options
-rw-r--r-- | platform/android/example/app/src/main/java/com/artifex/mupdf/example/DocViewActivity.java | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/platform/android/example/app/src/main/java/com/artifex/mupdf/example/DocViewActivity.java b/platform/android/example/app/src/main/java/com/artifex/mupdf/example/DocViewActivity.java index 32f2cecd..c503a85a 100644 --- a/platform/android/example/app/src/main/java/com/artifex/mupdf/example/DocViewActivity.java +++ b/platform/android/example/app/src/main/java/com/artifex/mupdf/example/DocViewActivity.java @@ -8,23 +8,22 @@ import com.artifex.mupdf.android.DocView; public class DocViewActivity extends Activity { - private DocView mDocView; + private DocView mDocView; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); - // set up UI + // set up UI setContentView(R.layout.activity_doc_view); - mDocView = (DocView)findViewById(R.id.doc_view); + mDocView = (DocView)findViewById(R.id.doc_view); // get the file path Uri uri = getIntent().getData(); final String path = Uri.decode(uri.getEncodedPath()); - // start the view - mDocView.start(path); + // start the view + mDocView.start(path); } - } |