mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-12-26 01:18:57 -05:00
Some more refactoring
This commit is contained in:
parent
4b7c6c9754
commit
25637485f9
@ -54,7 +54,7 @@ public class ServerActivity extends ExpandableListActivity implements ServiceCon
|
|||||||
public void onCreate(Bundle savedInstanceState)
|
public void onCreate(Bundle savedInstanceState)
|
||||||
{
|
{
|
||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
setContentView(R.layout.serverwindow);
|
setContentView(R.layout.server);
|
||||||
|
|
||||||
title = getIntent().getStringExtra("server_title");
|
title = getIntent().getStringExtra("server_title");
|
||||||
setTitle(title);
|
setTitle(title);
|
||||||
|
@ -103,7 +103,7 @@ public class ServerListActivity extends ListActivity implements OnItemLongClickL
|
|||||||
boolean binding = bindService(serviceIntent, this, 0);
|
boolean binding = bindService(serviceIntent, this, 0);
|
||||||
Log.d(TAG, "Binding to Service: " + binding);
|
Log.d(TAG, "Binding to Service: " + binding);
|
||||||
|
|
||||||
setContentView(R.layout.main);
|
setContentView(R.layout.serverlist);
|
||||||
|
|
||||||
db = new ServerDatabase(this);
|
db = new ServerDatabase(this);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user