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. **/
|
||||
public ConfigurationHandler configurationHandler;
|
||||
/** zur Verwendung von favorite anstatt der direkten Einbindung.*/
|
||||
public IFAVORITES favorite = new TestFavorites();
|
||||
public IFAVORITES favorite;
|
||||
/** allgemeines.*/
|
||||
/**
|
||||
*
|
||||
@ -61,6 +61,7 @@ public class MainActivity extends AppCompatActivity {
|
||||
//checks that the permission to read and write the xml is granted
|
||||
ensurePermissions();
|
||||
setupConfigs();
|
||||
favorite = configurationHandler;
|
||||
uebergabe = new Communicator(configurationHandler.getAddress(), configurationHandler.getPort(), this);
|
||||
uebergabe.downloadXML();
|
||||
setContentView(R.layout.activity_main);
|
||||
|
Loading…
x
Reference in New Issue
Block a user