Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Kotlin Properties with Example and How it Differs from Java

In Java there are fields but in Kotlin there are no fields like Java. Whatever variables we define in Kotlin class it becomes properties by default with internal implementations of it’s accessors.     let's try to understand

TextClock in Android

Hi Friends, TextClock is used to show the current time or/and date. In TextClock we use formatted String to show the time or/and date. Basically it is a digital clock added from Api level 17 replacement of DigitalClock. By using this method we get va

How to Parse and read the JSON Array using GSON library

How to parse the below type of API Response [ { "id": "xxxxxx", "displayLabel": "xxxxxxx", "name": "xxxxxxx", "fieldType": "Dropdown", "mandatory": false, "editable": true, "description": "xxxxxx", "options":[

Floating Labels for EditText in Material Design

Hi, We can show floating label for EditText by using android design support library. When we input text on EditText, it shows animation by floating labels. TextInputlayout is newly introduced to show floating label on EditText in design support

How to get User details in Joomla?

To view the details of user in Joomla we use the following method: JFactory::getUser(); It returns reference to the user object. The return object is of type JUser. It contains users information such as, id, name, email etc. Ex: $user= JFactory:

ngCordova oauth facebook

I want to create a facebook login for my ngCordova hybrid app.In backend i use node js.But in client i've saw a plugin which use clientID(app id) from facebook developers.I don't know how to create this client or how to work with this plugin.Does an

Login into webview without using http requests

We know that if we want to login into some form we have to create a asyncTask to do that and then in background some lines of https requests codes and then we check for response. But by using webivew we can directly log in into our website without u

Get group id and check membership from node id in Drupal 6

We can get group information and also can check membership in that group from current logged in user, using following code: $gidarray = array_keys($node->og_groups); $gid = $gidarray[0]; global $user; if(og_is_group_member($gid, true, $user->u

How to create Ruby hash in just one line ?

When we have to create a hash in just one line we can use this particular ruby code: @users = User.find :all user_hash = Hash[@users.map {|x| [x.id, x.name]}] Here we created a hash in just one line with Id as the key of hash and name of

Add sidebar in wordpress

In WordPress you can add sidebar by using register_sidebar() function . register_sidebar(array( 'name' => 'name_of _sidebar', 'id' => 'id_of _sidebar', 'description' =>'description of sidebar', 'before_title' => 'HTML to place be

1 … 93 … 466
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: