Animation in recyclerview

Inside Adapter class

 

Where holder is main container (Relative Layout)

person shubham sharmaaccess_time December 8, 2016launch Read More

.dex file in android

Compiled Android application code file. Android programs are compiled into .dex (Dalvik Executable) files, which are in turn zipped into a single .apk file on the device. .dex files can be created by automatically by Android translating compiled applications written in the Java programming language.

person shubham sharmaaccess_time November 12, 2016launch Read More

Android: What is the best HTTP library for uploading images to server? [closed]

AndroidAsync – https://github.com/koush/AndroidAsync android-async-http – https://github.com/loopj/android-async-http okhttp – https://github.com/square/okhttp http-request – https://github.com/kevinsawicki/http-request android-volley – https://github.com/mcxiaoke/android-volley ion – https://github.com/koush/ion retrofit– https://github.com/square/retrofit Bolts-Android– https://github.com/BoltsFramework/Bolts-Android       The library you mentioned are very different in nature. They can be more or less grouped like this Socket level API: This includes AndroidAsync okhttp HttpClient HttpURLConnection These are very […]

person shubham sharmaaccess_time November 10, 2016launch Read More

How to set text to view from drawer header layout in navigation drawer without inflating view

u get navigation header view by navigationView.getHeaderView(0) just try below code it works!

 

person shubham sharmaaccess_time November 7, 2016launch Read More

How to use putExtra() and getExtra() for string data

Use this to “put” the file…

  Then, to retrieve the value try something like:

 

person shubham sharmaaccess_time November 7, 2016launch Read More

Open Intent

WebBrowser

YouTube

 

person shubham sharmaaccess_time October 24, 2016launch Read More

shared preference

============================================= Setting values in Preference:

  Retrieve data from preference:

Android SharedPreferences in Fragment

 

person shubham sharmaaccess_time October 24, 2016launch Read More

Open YouTube Intent

 

person shubham sharmaaccess_time October 18, 2016launch Read More

How do I change the android actionbar title and icon

This is very simple to accomplish If you want to change it in code, call:

  And set the values to whatever you please. Or, in the Android manifest XML file:

  To enable the back button in your app use:

  The code should all be placed in your onCreate so […]

person shubham sharmaaccess_time October 15, 2016launch Read More