
Search In
Step1: Add dependency MPAndroidChart and jitpack maven repository in your build.gradle
repositories {
maven {
url "https://jitpack.io"
}
}
dependencies{
compile 'com.github.PhilJay:MPAndroidChart:v2.1.6'
}
Step2: Adding com.g


Drupal 8 and Drupal 7 basically have similar API with slight difference. In Drupal 7 form uses the array structure for rendering the data but it has the separate submission and validation function. In Drupal 8 comes with a feature that we can use the
Here I have created graphic app. In below example I have used android.graphics.Canvas. The android.graphics.Canvas provides method to draw oval,rectangle,text,picture etc.And The android.graphics.paint holds the information of color and style. Below
In the below example I have created a custom toast Function in Android, the toast will open in center of the screen. Here I have used a image, image shown below contains a toast at the bottom of the screen. For more see the below code, in which I hav
Plugin is an extension which provides a function that is associated with any trigger events. Following are the files required for creating a simple custom plugin in Joomla.
1 myfirsttest.xml
2 myfirsttest.php
3 index.html
First for creating a custo
If you want to create Sensor function you can use my below example code. The android platform supports three categories of sensors. 1st Motion Sensors, 2nd Environmental sensors and 3rd is Position sensors. In the below code I have used SensorEventLi
In the below code first I have added a Switch button in main layout. Here I have created two-state toggle switch that can select between two options. The user may drag the thumb back and forth to choose the selected option. In MainActivity I have use
In the below exmaple I have created Toolbar. Here I have used In activity_main xml.layout a toolbar and TextView, and In MainActivity I have used toast function. You can see the below example it will clearly describe you how to create Toolbar with t
In the below code I have created Runnable Thread program in android. Here first I have added TextView in activity_main.xml layout. In MainActivity I have used handler class then I have created a new Runnable interface , And I have also used o
In the below example I have describes "how to use FlexBox layout". FlexboxLayout extends the ViewGroup like relative layout and linear layout. You can add different attributes to the flexlayout like flexDirection, flexWrap, justifyCon
