Written by Dawid Sibińskion Today we’re going to see how to manage (keep and restore) state of Activities in Xamarin.Android application in order to keep the app consistent and reactive for configuration/state changes. Why to keep and restore Activity’s state? As I already described in my post about Android Activities, the OS may react to some “constant” state changes by calling lifecycle methods during Activity’s life, which may be overridden by the programmer in order to take some additional a...
Daj się poznać 2017 1373 dni, 2 godziny, 55 minut temu 4 źrodło rozwiń
Written by Dawid Sibińskion In this post, we’re going to see how to provide a nice Android UI control for selecting the date using DatePickerDialog. The dialog looks as follows: DatePickerDialog It may be opened e.g. when clicking on a button in the app, as I used it in MoneyBack. Creating DatePickerFragment First of all, we will implement the dialog to be displayed within DialogFragment. Doing that our dialog will be able to be displayed as independent piece of UI on the top of any Activit...
Daj się poznać 2017 1374 dni, 57 minut temu 6 źrodło rozwiń
Welcome to the eighteenth episode of my course “Becoming a software developer” in which we will finalize the basic CRUD for the Driver type, implement extension methods for the repository and build custom middleware in order to deal with exceptions.
On of the hardest parts of getting an open source project into state which allows others to use it effectively is creating documentation. This post shows how you can generate documentation directly from source code by using DocFx.
Written by Dawid Sibińskion In the 3rd post from SQLite-Net Extensions series we are covering the last type of relationship – one-to-many (and the opposite – many-to-one). One-to-many, many-to-oneOne-to-many relationships are used in general for parent-children or whole-elements relations. Classic examples are: bus and passengers, document and elements etc. One-to-many relationship means that the one-end entity knows about its children and many-end entity has a reference (foreign key) to its pa...
Daj się poznać 2017 1379 dni, 9 godzin, 20 minut temu 96 źrodło rozwiń
I'm sure that you heard about .NET Standard. To simplify the definition just one quote from the offical GitHub repo FAQ .NET Standard is a specification that represents a set of APIs that all .NET platforms have to implement. This unifies the .NET platforms and prevents future fragmentation. BTW in case you don't know just read the full article Introducing .NET Standard. On the other hand, Owin is (from owin.org): OWIN defines a standard interface between .NET web servers and web applications. The ...
Written by Dawid Sibińskion In this second short post from SQLite-Net Extensions series, we’re going to see how to create one-to-one relationships using this tiny ORM. One-To-One This is the simplest type of database relationship. An example could be vehicle and registration certificate – each vehicle has one and only one registration certificate, and one registration certificate is associated with one and only one vehicle (excluding some extraordinary law rules in other countries that I don’t k...
Daj się poznać 2017 1382 dni, 21 godzin, 18 minut temu 18 źrodło rozwiń
Michał SakwaDaj się poznać 2017 Dzisiaj pora na kolejny post dotyczący wykorzystania SignalR w ASP.NET Core. Ostatnim razem pisałem o implementacji po stronie serwera, tym razem zajmiemy się klientem aplikacji z wykorzystaniem frameworka Angular.
Daj się poznać 2017 1380 dni, 19 godzin, 5 minut temu 135 źrodło rozwiń
Written by Dawid Sibińskion In today’s post we’re going to see what is SQLite-Net Extensions ORM and how to use it to create many-to-many relationship in SQLite database. The other types of relationships will be described in separate posts. What is SQLite-Net Extensions ? As you develop any mobile app, sooner than later you need to keep your app’s data in some persistent storage. In my MoneyBack project I’ve chosenSQLite database using SQLite.NET library for performing operations on it. This is ...
Daj się poznać 2017 1382 dni, 21 godzin, 18 minut temu 36 źrodło rozwiń
Welcome to the seventeenth episode of my course “Becoming a software developer” in which we will mostly talk about the boundaries and responsibilities of the application services. Eventually, we will implement some helper code to automatically assign the authenticated user id to the given command.
Niedawno opublikowałem wpis na temat instalacji biblioteki SignalR w projekcie ASP.NET Core z wykorzystaniem Angulara. Dzisiaj chciałem kontynuować ten temat na przykładzie z mojego projektu. Zademonstruję działającą implementację po stronie serwera.
Daj się poznać 2017 1384 dni, 1 godzinę, 42 minuty temu 97 źrodło rozwiń
Wtyczka do Visual Studio monitorująca czas i zdrowie dewelopera już coś zaczyna sobą reprezentować. Postanowiłem zatem dodać rozszerzenie do marketu, aby każdy mógł zainstalować ją w swoim IDE i zgłosić wszelakie błędy i uwagi. W tym poradniku przedstawię sposób na umieszczenie wtyczki do Visual Studio w Markecie.
Daj się poznać 2017 1386 dni, 4 godziny, 59 minut temu 13 źrodło rozwiń
Czas podsumować tydzień prac nad Home Wallet. Zapraszam do czytania.
Daj się poznać 2017 niedziela, 14 maja 2017 21:06:48 GMT 16 spam? źrodło rozwiń
We wpisie omówiona zostanie obecna implementacja metod Single oraz Last w pakiecie Linq. Zaproponowane zostaną również zoptymalizowana wersje obu metod.
Daj się poznać 2017 1387 dni, 5 godzin, 54 minuty temu 262 źrodło rozwiń
Welcome to the sixteenth episode of my course “Becoming a software developer” in which we will implement the login endpoint in our API, discuss the caching mechanism and how to initialize the application with basic data.
Written by Dawid Sibińskion In today’s post I’d like to present what’s the current status of works on MoneyBack application, 3 weeks before the end of DSP competition. In general, the project hasn’t been going as well as I expected and is currently not as advanced as I’d expect it to be at this stage. There are many reasons behind that, including lack of time recently and many issues met during development, however, as I already wrote in my DSP introducing post, the most important is to survive...
Daj się poznać 2017 1394 dni, 6 godzin, 4 minuty temu 6 źrodło rozwiń
Po majówkowej przerwie od projektu, zapraszam na kolejne podsumowanie tygodnia prac nad Home Wallet.
Daj się poznać 2017 1395 dni, 4 godziny, 35 minut temu 32 źrodło rozwiń
W dzisiejszym poście postanowiłem krótko przedstawić definicje wybranych delegatów, które standardowo udostępnia nam .NET.
Daj się poznać 2017 1395 dni, 4 godziny, 35 minut temu 104 źrodło rozwiń
W końcu przyszedł ten moment, w którym stwierdziłem, że pora wypuścić pierwszą wersję Winbota. Zbudowałem instalator i wystawiłem release na githubie. Dostępny do pobrania tutaj. Zanim jednak to uczyniłem, zastanawiałem się co będzie, jeżeli zacznę wypuszczać kolejne wersje. W jaki sposób informować użytkownika z zainstalowaną aplikacją, że pojawiła się nowsza wersja? W tym poście opiszę własne rozwiązanie tego problemu. Jedna rzecz była dla mnie pewna od samego początku. ...
Daj się poznać 2017 1400 dni, 5 godzin, 45 minut temu 76 źrodło rozwiń