Tutorial by Examples: l

1. Install the Ionic Framework and Cordova (since Ionic apps are based on Cordova) using npm (the Node Package Manager): Make sure you have an up-to-date version of Node.js installed on your system. If you don't have Node.js installed, you can install it from here. Also, for Mac users, having the ...
Consider we have a class Animal which has a child class Dog class Animal { public Animal() { Console.WriteLine("In Animal's constructor"); } } class Dog : Animal { public Dog() { Console.WriteLine("In Dog's constructor"); } ...
Requirements: Installed Java JDK or JRE (version 7 or higher for Gradle 3.x version) Installation steps: Download Gradle distribution from the official web site Unpack the ZIP Add the GRADLE_HOME environment variable. This variable should point to the unpacked files from the previous step. Ad...
First of all, implement your view holder: implements View.OnClickListener, View.OnLongClickListener Then, register the listeners as follows: itemView.setOnClickListener(this); itemView.setOnLongClickListener(this); Next, override the listeners as follows: @Override public void onClick(Vie...
By default error message appears below textbox in <div class="help-block"></div> on keyUp or after pressing submit button if any validation constraints aren't met. Sometimes we want a message on submit only i.e. no validation at onKeyup event. Let's check yii2/widgets/ActiveF...
Binary releases of Maven can be downloaded from the Maven website. The binary comes as a zip archive or as a tar.gz archive. After downloading it, the instructions from the install page can be followed: Ensure the JAVA_HOME environment variable is set and points to your JDK installation (not JRE...
The first step to start Xamarin development on an OS X machine, is to download and install Xamarin Studio Community version from the official website. A few fields need to be filled to download the installer as shown in the picture below. The Xamarin Unified installer takes care of identifying an...
An interface in Kotlin can have default implementations for functions: interface MyInterface { fun withImplementation() { print("withImplementation() was called") } } Classes implementing such interfaces will be able to use those functions without reimplementing cl...
Download Qt for Linux Open Source Version Go to https://www.qt.io/download-open-source/ and click on Download Now, make sure that you are downloading the Qt installer for Linux. A file with the name qt-unified-linux-x-online.run will be downloaded, then add exec permission chmod +x qt-unified-...
Different flavors of application builds can contain different resources. To create a flavor-specific resource make a directory with the lower-case name of your flavor in the src directory and add your resources in the same way you would normally. For example, if you had a flavour Development and w...
The easiest way to get writing your first XAML is to install Microsoft Visual Studio. This is avaliable free from Microsoft. Once installed you can create a new project, of type WPF Application, either with a VB.NET or C# code. This is similar to windows forms in the sense that you have a series o...
Fortran is a language which can be compiled using compilers supplied by many vendors. Different compilers are available for different hardware platforms and operating systems. Some compilers are free software, some can be used free of charge and some require the purchase of a licence. The most comm...
You don't have to check the IDisposable object for null. using will not throw an exception and Dispose() will not be called: DisposableObject TryOpenFile() { return null; } // disposable is null here, but this does not throw an exception using (var disposable = TryOpenFile()) { //...
INSERT INTO `my_table` (`field_1`, `field_2`) VALUES ('data_1', 'data_2'), ('data_1', 'data_3'), ('data_4', 'data_5'); This is an easy way to add several rows at once with one INSERT statement. This kind of 'batch' insert is much faster than inserting rows one by one. Typically...
Java 8 provides classes called IntSummaryStatistics, DoubleSummaryStatistics and LongSummaryStatistics which give a state object for collecting statistics such as count, min, max, sum, and average. Java SE 8 List<Integer> naturalNumbers = Arrays.asList(1, 2, 3, 4, 5, 6, 7, 8, 9, 10); IntSu...
Getting started with Ember is easy. Ember projects are created and managed through our command line build tool Ember CLI. This tool provides: Modern application asset management (including concatenation, minification, and versioning). Generators to help create components, routes, and more. A ...
Xamarin.Forms is a cross-platform natively backed UI toolkit abstraction that allows developers to easily create user interfaces that can be shared across Android, iOS, Windows, and Windows Phone. The user interfaces are rendered using the native controls of the target platform, allowing Xamarin.For...
Symfony Framework - built with symfony components, is one of the leading PHP framework used to create robust websites and web applications. Symfony can be installed quickly through two recommended ways. The official documentaion recommends to install the framework through the Symfony Installer ...
Pseudo-elements are added to selectors but instead of describing a special state, they allow you to style certain parts of a document. The content attribute is required for pseudo-elements to render; however, the attribute can have an empty value (e.g. content: ""). div::after { conte...
Detailed instructions on getting unix set up or installed.

Page 72 of 861