Bright Devs Blog

Testing Android ViewModels

Testing Android ViewModels

android kotlin viewmodel mvvm unit tests

In my previous post I described how to implement injectable Android view models using Dagger and ViewModel library from Android Architecture Components. In this post I will show a simple way to unit test the view model created then. You can find the full code in the same repository as previously on GitHub.

Testing Android ViewModels
Tabs - navigation pattern on Android

Tabs - navigation pattern on Android

android tabs tablayout layout user interface customization

Proper content organisation in your Android application may be achieved with a wide range of layouts and widgets. Today I’d like to focus on tabs that is what kind of components are dedicated to using tabs in an application, what are the key principles in using them and how to customize their view.

Tabs - navigation pattern on Android
Polish Tech Night

Polish Tech Night

startups venture capital berlin

During my four-day trip to Berlin I had a pleasure to participate in the 3rd edition of Polish Tech Night as a member of group led by Gdański Inkubator Przdsiębiorczości Starter. Polish Tech Night is an event connecting Polish tech startups with German ecosystem, combined with numerous workshops on the plenty of subjects like business cooperation, venture capitals, or law aspects of running a company in Germany.

Polish Tech Night
AWS CloudFormation patterns & practices with cloudform

AWS CloudFormation patterns & practices with cloudform

AWS CloudFormation open-source

Recently we introduced cloudform – our open-source library that allows for managing AWS CloudFormation template files through TypeScript. Its core value proposition is to cope with the massive JSON files in a sane and familiar way – to treat it as any other TypeScript code we have in our project. But what does it actually mean? Let's look at some examples to check where this path can lead us to.

AWS CloudFormation patterns & practices with cloudform
Multi tenancy in Spring MVC

Multi tenancy in Spring MVC

spring mvc spring-boot multi-tenant reactive reactor

One of our clients aimed to replace old, often DOS based, point of sale systems with a cloud based, SaaS modeled solution. At Bright Inventions we have developed all required components including AWS based back-end processing requests originating from multiple clients. Each business that uses the SaaS point of sale can be considered a tenant in a multi-tenant environment. There many aspects involved when developing multi-tenant application with data isolation and partitioning being the most discussed topic. However, today I would like to focus on computational and resource isolation aspect.

Multi tenancy in Spring MVC
Injectable Android ViewModels

Injectable Android ViewModels

android kotlin dagger viewmodel mvvm

In the following post I’m going to show a simple (almost boilerplate-free) yet powerful implementation of the view models dependency injection on Android using Dagger.

Injectable Android ViewModels
Implementing a simple pedometer using Swift

Implementing a simple pedometer using Swift

iOS swift CoreMotion pedometer tutorial

Core Motion is well-known iOS framework. As we could read in [docs](https://developer.apple.com/documentation/coremotion) it process accelerometer, gyroscope, pedometer environemnt-related events. In this post I want to focus on pedometer events and how to handle it.

Implementing a simple pedometer using Swift
Bright Year

Bright Year

teamspirit engagement trust success

There is nothing more important than people at work who support you, who help you, who share their knowledge and experience with you, and who come to work with a big smile on their face. And I have this kind of people around me. I suppose it is the most incredible motivation that anyone would like to have. Seeing clever, full of passion and energy people every day in the morning can really give you an extra kick.

Bright Year
Working with iOS push notifications

Working with iOS push notifications

ios push notifications firebase swift

Push notifications, also known as remote notifications, are a tremendously useful feature of mobile applications. They can be used for sending users marketing offers, increase users engagement by providing a personalised content, implementing a chat or even triggering some action to be performed in the background. And what’s really useful, users don’t have to keep their app opened.

Working with iOS push notifications
In the end, the love you take is always equal to the love you make

In the end, the love you take is always equal to the love you make

knowledge productivity success teamwork

Elon Musk once said that leadership does not depend nowadays on the number of patents companies have, but on the ability to hire talented people who know how to make the most of the knowledge and skills they have. Knowledge and patents themselves should be open source. Knowledge sharing is the process in which the main role is always played by people. It is about collaborative learning where everyone contribute to drive a real value. By sharing our individual experiences, know-how and skills with others we really learn a lot and gain new perspectives.

In the end, the love you take is always equal to the love you make