Abspeicherung der Favoriten in config
This commit is contained in:
parent
94ddd4957b
commit
f56d526058
@ -49,7 +49,7 @@ public class MainActivity extends AppCompatActivity {
|
|||||||
/** Handler for the custom user configurations. **/
|
/** Handler for the custom user configurations. **/
|
||||||
public ConfigurationHandler configurationHandler;
|
public ConfigurationHandler configurationHandler;
|
||||||
/** zur Verwendung von favorite anstatt der direkten Einbindung.*/
|
/** zur Verwendung von favorite anstatt der direkten Einbindung.*/
|
||||||
public IFAVORITES favorite = new TestFavorites();
|
public IFAVORITES favorite;
|
||||||
/** allgemeines.*/
|
/** allgemeines.*/
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
@ -61,6 +61,7 @@ public class MainActivity extends AppCompatActivity {
|
|||||||
//checks that the permission to read and write the xml is granted
|
//checks that the permission to read and write the xml is granted
|
||||||
ensurePermissions();
|
ensurePermissions();
|
||||||
setupConfigs();
|
setupConfigs();
|
||||||
|
favorite = configurationHandler;
|
||||||
uebergabe = new Communicator(configurationHandler.getAddress(), configurationHandler.getPort(), this);
|
uebergabe = new Communicator(configurationHandler.getAddress(), configurationHandler.getPort(), this);
|
||||||
uebergabe.downloadXML();
|
uebergabe.downloadXML();
|
||||||
setContentView(R.layout.activity_main);
|
setContentView(R.layout.activity_main);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user