diff options
author | Pacien TRAN-GIRARD | 2017-07-03 23:59:40 +0200 |
---|---|---|
committer | Pacien TRAN-GIRARD | 2017-07-03 23:59:40 +0200 |
commit | 0b3eef56d244bf40598cba66b1e48479ecbdfaef (patch) | |
tree | ffbe91014c76ad663b11e64571619b334623edf0 /app/src/main/java | |
parent | f791c73e356e6d8ed79b9b14702b84587c3c4bd3 (diff) | |
download | tincapp-0b3eef56d244bf40598cba66b1e48479ecbdfaef.tar.gz |
Fix empty list placeholder
Diffstat (limited to 'app/src/main/java')
-rw-r--r-- | app/src/main/java/org/pacien/tincapp/activities/StartActivity.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/org/pacien/tincapp/activities/StartActivity.kt b/app/src/main/java/org/pacien/tincapp/activities/StartActivity.kt index 21f5199..c438be0 100644 --- a/app/src/main/java/org/pacien/tincapp/activities/StartActivity.kt +++ b/app/src/main/java/org/pacien/tincapp/activities/StartActivity.kt | |||
@@ -40,7 +40,7 @@ class StartActivity : BaseActivity(), AdapterView.OnItemClickListener { | |||
40 | private fun writeContent() { | 40 | private fun writeContent() { |
41 | network_list.addHeaderView(layoutInflater.inflate(R.layout.fragment_network_list_header, network_list, false), null, false) | 41 | network_list.addHeaderView(layoutInflater.inflate(R.layout.fragment_network_list_header, network_list, false), null, false) |
42 | network_list.addFooterView(View(this), null, false) | 42 | network_list.addFooterView(View(this), null, false) |
43 | network_list.emptyView = layoutInflater.inflate(R.layout.fragment_network_list_empty_placeholder, network_list, false) | 43 | network_list.emptyView = network_list_empty |
44 | network_list.adapter = ArrayAdapter<String>(this, R.layout.fragment_list_item, AppPaths.confDir().list()) | 44 | network_list.adapter = ArrayAdapter<String>(this, R.layout.fragment_list_item, AppPaths.confDir().list()) |
45 | network_list.onItemClickListener = this | 45 | network_list.onItemClickListener = this |
46 | } | 46 | } |