Category: Making your own Views
-
Automating Desktop using RobotJS
RobotJS package gives users ability to control mouse and keyboard of the desktop. In our demo, we will try to draw a circle in MS Paint by controlling mouse actions. Here we will be using version 0.47 of RobotJS. Development Environment: We will start by creating a simple node application in WebStorm. Installing RobotJS: Enter following […]
-
Voting App Using React Redux
Voting App Using React Redux Redux provides an easy way to centralize the state of your application. There are three basic properties to know in Redux. Action, Store, Reducer. We will cover all these properties one by one. The Redux Cycle (Image Credits https://www.slideshare.net/MihailGaberov/using-react-redux-and-saga-with-lottoland-apis-76296469 ) The redux cycle is composed of Action, Store and […]
-
Android LIvedata with ViewModel And Room
Hey folks, in this post we are going to implement livedata with Spinner. LiveData is an observable data holder class. Unlike a regular observable, LiveData is lifecycle-aware, meaning it respects the lifecycle of other app components, such as activities, fragments, or services. This awareness ensures LiveData only updates app component observers that are in an active lifecycle […]
-
React Native Starter kit
create react native app is the most effortless approach to begin constructing another React Native application. It enables you to begin a task without introducing or configuring any software on local code – no Xcode or Android Studio. Expecting that you have Node introduced, you can utilize npm to install the create-react-native-app npm install -g […]
-
Notification Channels in Android O
There is no way a user can turn off a specific type of Notifications unless a way is explicitly provided in the app. The only way around is to turn off all the app Notifications. With Android O, Developers can create different channels for different types of notifications. Users can modify following characteristics from settings: […]
-
Android implementing Volley using Kotlin
Hey Guys, today I am going to tell you how to implement Network hits using Volley Library in Kotlin. Before getting into this tutorial, I tell you what Volley is. Android volley is a networking library was introduced to make networking calls much easier, faster without writing tons of code. By default all the volley […]
-
RecyclerView as WheelPicker
Case Study : Working with an E-Commerce application, I was asked to implement a custom date/time picker for delivery time slot as below. Being a lazy developer, my first approach was to look for a library that would make my work a lot easier. And after few (actually many) Google searches, I decided to use […]
-
Getting Started with Room
Overview Android provides a set of libraries to help to design of a highly maintainable and robust code. They have provided with helper classes for better data caching and handling UI component states. Room The Room is a robust SQL object mapping library. It provides a layer of Abstraction over the Android’s SQLite Database. Allowing […]
-
Custom Fonts using Support Library
One of the most exciting announcements by Google in I/O 17 was providing support for custom fonts. Not as an asset but fonts can now be used as a resource. An application can also use one of many Google Fonts dynamically. As fonts are now supported natively, the same font can be used by different […]
-
Frisby.js
Frisby is a REST API testing framework built on node.js and Jasmine. Install Frsiby.js Install Frisby.js with NPM locally. Execute the following command in your project folder. sudo npm install frisby Write Tests Frisby tests start with frisby.create(‘Test Title’), where Test Title is a description for this test. The tests are then followed by one […]
-
Mochajs
Mocha is a feature-rich JavaScript test framework running on Node.js and in the browser, making asynchronous testing simple and fun. Mocha tests run serially, allowing for flexible and accurate reporting, while mapping uncaught exceptions to the correct test cases. Some of the features of mocha are as follow: simple async support, including promises. async test […]
-
Postman
Postman is mostly used app for developing and testing API .Postman is a free app which is available for MacOS,Windows,Linux and Chrome app.It is used to you to create, save, send HTTP requests and test the response data.It helps to automate the process of making API requests and testing API responses.There are various features which […]
-
Create a GraphQL Schema and Resolver for Querying
In this blog, I will discuss about GraphQL, it’s schema creation, how to use resolvers and how to use query by passing arguments. Lets first understand what is GraphQL. GraphQL is a query language for your API and a server-side runtime for executing queries by using a type system you define for your data. GraphQL isn’t […]
-
Hapijs – Built in methods
Hapi has some built in logging methods, as well as some limited capability for viewing these logs. There are two nearly identical logging methods, – server.log, – request.log. > They both accept up to three parameters. They are, in order, tags, data, and timestamp. – tags is a string or array of strings used to […]
-
Integration Testing
Testing of combined modules of an application to determine whether they are functionally working correctly. The ‘parts’ can be code modules, individual applications, client and server applications on a network, etc. Types of Integration Testing: 1. Big Bang: In this approach, all or most of the developed modules are coupled together to form a complete […]
-
Making your own Views
Preface Working with Checkbox and ListView can be the real pain. It was on 14 November 2016, when an issue in one of my GitHub repositories made it clear. Thanks to him I have a picture to show it. The problem with the checkbox can be seen in the screenshot above. Sometimes performing clicks on […]