powered-up icon indicating copy to clipboard operation
powered-up copied to clipboard

Reorganize Examples Collection to be easier to maintain and invokable from Xamarin App

Open tthiery opened this issue 4 years ago • 3 comments

tthiery avatar Mar 30 '21 06:03 tthiery

@Berdsen I changed some code recently of the example code base ... is that more to your liking or what can we do to improve the situation there?

tthiery avatar Apr 30 '21 19:04 tthiery

@tthiery That looks a bit tricky to bring the examples into two different solutions. Perhaps we could:

  • exclude the test solution in an own repository
  • include it in powered-up and example-xamarin repos as a git submodule
  • extract an interface out of the BaseExample class
  • and have then the own implementations in separate folders or solutions

Might be a good solution for having just one example code base

Berdsen avatar May 13 '21 18:05 Berdsen

I will factor the base application into the Program.cs (basically removing this OO 💩). If you like, I just create another .dll without any host code, hosting exclusively the examples.

Would that help?

tthiery avatar May 14 '21 13:05 tthiery