---
title: "Julian Ewers-Peters (@ewerspej) | Hashnode"
description: "Mobile App Developer. Read the latest articles by Julian Ewers-Peters on Hashnode."
url: "https://hashnode.com/@ewerspej"
---

@ewerspej

# Julian Ewers-Peters

@ewerspej · Germany · Joined October 2022

Mobile App Developer

[Website](https://www.ewers-peters.de/)

## Comments

[Sorry for the late reply. You likely need to add some additional settings to your .csproj or to the respective .props files, to target the correct platform configuration for releases, such as <PropertyGroup> <DefineConstants>$(DefineConstants);RELEASE</DefineConstants> <Optimize>true</Optimize> <DebugType>pdbonly</DebugType> <PublishTrimmed>True</PublishTrimmed> </PropertyGroup> However, I would recommend doing these things in a build pipeline instead of building a release locally. I was planning to write a follow up on this, but didn't find the time yet.](https://hashnode.com/posts/white-labeling-net-maui-apps/669822ca3646a1b339524626/comment/68d14e0488ec1d6e352f6056#reply-69e87b979fe9de8b43c79f16)

Reply · Article · Apr 22 · [White Labeling .NET MAUI Apps](https://hashnode.com/posts/white-labeling-net-maui-apps/669822ca3646a1b339524626)

[Sorry for the late reply, I always miss the notifications. Thanks, I'll think about it! No promises, though 😉](https://hashnode.com/posts/maui-video-reel/66447315cec90639d090d60b/comment/664d831912e3b270107fc061#reply-666556d0a17b731b97a6abbc)

Reply · Article · Jun 9, 2024 · [Easily add a video reel to your MAUI app (like Instagram)](https://hashnode.com/posts/maui-video-reel/66447315cec90639d090d60b)

[Sorry for the late reply, I always miss the notifications. You can place an image in the header of the control and use DataTriggers with a binding to the IsExpanded property. Inside the triggers you can then define setters that change the Source property of the image based on the value of the IsExpanded property. Hope this helps.](https://hashnode.com/posts/three-ways-to-implement-an-accordion-control/64e3385aa0040cf7f945e171/comment/6658b22cbcbe68f75d691946#reply-66655620a17b731b97a6a871)

Reply · Article · Jun 9, 2024 · [Three ways to implement an accordion control](https://hashnode.com/posts/three-ways-to-implement-an-accordion-control/64e3385aa0040cf7f945e171)

[Hi Renatas, sorry, I only saw your comment now. Not sure what exactly you mean. In the sample repository, the AudioService isn't implemented, yet, it doesn't use the Singleton Design (anti-) Pattern. I just want to demonstrate different ways to register and use dependencies. What matters most is that the SOLID principles are applied wherever possible. Now, the code in the samples repository isn't perfect, it's a showcase of possibilities. Generally, any service with a public @Object or factory method can be registered as a singleton, transient or scoped dependency. Note that the term "singleton" is somewhat overloaded here, because in the context of dependency injection, it means that always the same instance will be resolved by the DI container, it doesn't mean the Singleton Design Pattern (SDP). Classes that use the SDP can still also be registered as a singleton dependency, in which case you don't register the @Object (because it's private) or a factory (because it doesn't exist), but rather the static singleton instance. I hope this clears it up a little. Cheers Julian](https://hashnode.com/posts/are-you-using-dependency-injection-in-your-net-maui-app-yet/6482f2104778277cfdf5862f/comment/65e4d83cdc15705d19ce854a#reply-66051ef99609cc27c5eb7bc4)

Reply · Article · Mar 28, 2024 · [Are you using Dependency Injection in your .NET MAUI app yet?](https://hashnode.com/posts/are-you-using-dependency-injection-in-your-net-maui-app-yet/6482f2104778277cfdf5862f)

[Not sure what you mean.](https://hashnode.com/posts/platform-specific-xaml-in-net-maui/653648cf27cbfb771f1ce248/comment/653d532e8bb1c48f931a2794#reply-65d0693b0dbcb6e7f2a36400)

Reply · Article · Feb 17, 2024 · [Platform-specific XAML in .NET MAUI](https://hashnode.com/posts/platform-specific-xaml-in-net-maui/653648cf27cbfb771f1ce248)

[Sorry for the late reply. Yes, that's something that would be nice indeed. I suppose this should be possible using handlers, but the cross-platform control doesn't support it, yet.](https://hashnode.com/posts/customize-the-title-bar-of-a-maui-app-with-these-simple-steps/6437b80e25023970a8a7428b/comment/659d1c002c239f2ed348de48#reply-65d068be556d1cde6cb5bb30)

Reply · Article · Feb 17, 2024 · [Customize the Title Bar of a MAUI app with these simple steps](https://hashnode.com/posts/customize-the-title-bar-of-a-maui-app-with-these-simple-steps/6437b80e25023970a8a7428b)

[Hi Sebastian. Sorry, I didn't see your comment before. Have you tried using data binding to change the color during runtime? Another approach would be to build the toolbar in the code-behind using C# and then setting different colors based on some conditions. As I am not near my computer at the moment, I won't be able to give a specific answer at the moment. If you can't figure it out, let me know and I might write up another blog post about configuring/updating the toolbar from the code-behind during runtime. Cheers Julian](https://hashnode.com/posts/customize-the-title-bar-of-a-maui-app-with-these-simple-steps/6437b80e25023970a8a7428b/comment/64ee505c9aae004fb5a8e1cf#reply-64fb4c6fd97346b470a1d22f)

Reply · Article · Sep 8, 2023 · [Customize the Title Bar of a MAUI app with these simple steps](https://hashnode.com/posts/customize-the-title-bar-of-a-maui-app-with-these-simple-steps/6437b80e25023970a8a7428b)

[Hi Sebastian Hoppe, popups such as alert dialogs and the picker use native platform views. In order to theme those, you need to use platform-specific code. This can be achieved either by using custom renderers (the old-fashioned Xamarin.Forms way), control customization using handlers and mappers or by manually setting color values in the styles.xml of the Android platform, similar to how I have described it in my blog post about splash screens in MAUI. I hope this helps. Cheers Julian](https://hashnode.com/posts/customize-the-title-bar-of-a-maui-app-with-these-simple-steps/6437b80e25023970a8a7428b/comment/64e889e6224d490ab6904547#reply-64eb1d6ccc3035243ea8007d)

Reply · Article · Aug 27, 2023 · [Customize the Title Bar of a MAUI app with these simple steps](https://hashnode.com/posts/customize-the-title-bar-of-a-maui-app-with-these-simple-steps/6437b80e25023970a8a7428b)

[Hi Sebastian Hoppe, which background do you mean? On the top, you can see the status bar, which on Android can be set in the platform-specific code, e.g. MainActivity.cs via this method: Window?.SetStatusBarColor(Colors.Orange.ToAndroid()); On iOS, this shouldn't be necessary, usually the page background color is used, which can be set in a platform-independent fashion like this: <ContentPage BackgroundColor="Orange"> </ContentPage> I hope this helps. I'm thinking about writing a separate blog post about that. Cheers Julian](https://hashnode.com/posts/customize-the-title-bar-of-a-maui-app-with-these-simple-steps/6437b80e25023970a8a7428b/comment/64e88870224d490ab6904522#reply-64eb1be7cc3035243ea8004e)

Reply · Article · Aug 27, 2023 · [Customize the Title Bar of a MAUI app with these simple steps](https://hashnode.com/posts/customize-the-title-bar-of-a-maui-app-with-these-simple-steps/6437b80e25023970a8a7428b)

[Maxi Contieri I agree that we should learn from past mistakes and improve language design. This is already on-going, maybe not for indices, but some languages, like C#, are evolving fast with user-friendliness in mind.](https://hashnode.com/posts/code-smell-219-looping-from-index-0/64bdc084a9cc12e3801de146/comment/64be28424d4ccf1030b102df#reply-64be82c539daac17cfbccd6b)

Reply · Article · Jul 24, 2023 · [Code Smell 219 - Looping from index 0](https://hashnode.com/posts/code-smell-219-looping-from-index-0/64bdc084a9cc12e3801de146)
