Skip to content

Commit

Permalink
Code restructuring and cleanup #12 #11 #13 #7
Browse files Browse the repository at this point in the history
  • Loading branch information
Drutol committed Dec 5, 2019
1 parent d068cdf commit 1802b85
Show file tree
Hide file tree
Showing 31 changed files with 993 additions and 981 deletions.
3 changes: 2 additions & 1 deletion CrossHMI/CrossHMI.Android/Activities/MainActivity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
using AoLibs.Navigation.Core.Interfaces;
using AoLibs.Navigation.Core.PageProviders;
using Autofac;
using CrossHMI.Android.Adapters;
using CrossHMI.Android.Fragment;
using CrossHMI.Interfaces.Adapters;
using CrossHMI.Models.Enums;
Expand All @@ -36,7 +37,7 @@ public class MainActivity : AppCompatActivity, IOnActivityResultProvider, IOnNew

public MainActivity()
{
_logger = ResourceLocator.GetLogger<MainActivity>();
_logger = new LogAdapter<MainActivity>();
Instance = this;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ public ConfigurationResourcesProvider(IContextProvider contextProvider,
_logger = logger;
}

public Stream ObtainLibraryConfigurationXML()
public Stream ObtainLibraryConfiguration()
{
_logger.LogDebug("Reading configuration data from native asset data file on Android.");
return _contextProvider.CurrentContext.Assets.Open("LibraryConfiguration.xml", Access.Random);
return _contextProvider.CurrentContext.Assets.Open("LibraryConfiguration.json", Access.Random);
}
}
}
Loading

0 comments on commit 1802b85

Please sign in to comment.