A.I, Data and Software Engineering

Search results forkotlin

MVVM vs MVI – Architecture for Mobile Development

petamind

The Model-View-ViewModel (MVVM) and Model-View-Intent (MVI) are architectural patterns used in software development, particularly for structuring the code of user interface (UI) applications. Both patterns aim to separate concerns and manage the flow of data between the UI and the underlying data models, but they do so in different ways. Let’s explore both patterns with an example in...

The Top 5 Most In-Demand Programming Languages to Learn for a Bright Future

petamind

Introduction: When Computers Were Human by NASA’s Marshall Space Flight Center is licensed under CC-BY-NC 2.0 In the fast-paced world of technology, staying ahead of the curve is crucial for aspiring programmers. As the demand for software developers continues to surge, knowing which programming languages are most sought-after can give you a competitive edge in the job market. In this...

Best Android Image Loaders – 2022

chocolate cake on saucer beside iphone

In this article, we will explore some of the best Android image loaders for you. These are some of the most commonly used third-party libraries since Android SDK doesn’t provide a simple image loading solution for developers to use. Generally, you tend to have to implement one yourself or look at third-party libraries. Photo by Tim Gouw on Pexels.com Glide Glide is a fast and efficient open...

Constraints with Android Worker

petamind

Sometimes, we want our app to perform some background tasks under certain conditions, such as Battery level or network etc. With Worker and Constraints, we can conveniently achieve that. The example problem A worker class that prints a message to the console. class MyWorker(context: Context, params: WorkerParameters): Worker(context,params) { override fun doWork(): Result { Log.i(LOG_TAG...

Number of Islands solution

petamind

In this post, we have a look at using a queue and breath-first search algorithm to solve a Leetcode challenge. The problem is stated as follows. Given an m x n 2D binary grid grid which represents a map of '1's (land) and '0's (water), return the number of islands. An island is surrounded by water and is formed by connecting adjacent lands horizontally or vertically. You may assume all four edges...

A.I, Data and Software Engineering

PetaMinds focuses on developing the coolest topics in data science, A.I, and programming, and make them so digestible for everyone to learn and create amazing applications in a short time.

Categories