summaryrefslogtreecommitdiff
path: root/android/src/com/artifex/mupdfdemo/OutlineActivity.java
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2013-05-27 14:51:33 +0200
committerTor Andersson <tor.andersson@artifex.com>2013-05-27 14:51:33 +0200
commit868a21fe07d4ac760a3bc429edefe860b8255b6d (patch)
treead6dc7f02cd757c3de22417dcf41233c93e188bf /android/src/com/artifex/mupdfdemo/OutlineActivity.java
parentaf13164924fb4c627f201c943c7a18e5dbe39507 (diff)
downloadmupdf-868a21fe07d4ac760a3bc429edefe860b8255b6d.tar.xz
Fix indentation to be consistent with regard to tabs/spaces.
Diffstat (limited to 'android/src/com/artifex/mupdfdemo/OutlineActivity.java')
-rw-r--r--android/src/com/artifex/mupdfdemo/OutlineActivity.java15
1 files changed, 8 insertions, 7 deletions
diff --git a/android/src/com/artifex/mupdfdemo/OutlineActivity.java b/android/src/com/artifex/mupdfdemo/OutlineActivity.java
index bd1b19ba..52b0d410 100644
--- a/android/src/com/artifex/mupdfdemo/OutlineActivity.java
+++ b/android/src/com/artifex/mupdfdemo/OutlineActivity.java
@@ -7,17 +7,18 @@ import android.widget.ListView;
public class OutlineActivity extends ListActivity {
OutlineItem mItems[];
+
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
+ super.onCreate(savedInstanceState);
- mItems = OutlineActivityData.get().items;
- setListAdapter(new OutlineAdapter(getLayoutInflater(),mItems));
- // Restore the position within the list from last viewing
- getListView().setSelection(OutlineActivityData.get().position);
- getListView().setDividerHeight(0);
- setResult(-1);
+ mItems = OutlineActivityData.get().items;
+ setListAdapter(new OutlineAdapter(getLayoutInflater(),mItems));
+ // Restore the position within the list from last viewing
+ getListView().setSelection(OutlineActivityData.get().position);
+ getListView().setDividerHeight(0);
+ setResult(-1);
}
@Override