Skip to main content

Posts

Showing posts from 2018

Java Tutorial-Static Keyword In Java by-Teachmeandroidhub

Java Tutorial-Static Keyword In Java by-Teachmeandroidhub Static Keyword:- First of all we need to know about static .This terms defines stability itself .Suppose your name “ aman” so all the person who knows you they will call you “aman” in case you changed you name then all will call you with  new name mean term related with static is common for all object of class. Let discuss with a figure.                             fig-1                                                                                             fig-2 According to fig-1 let’s suppose a glass full of water and two person watching this glass after some time someone has drunk some amount of water Now glass is half empty and half filled.as like this when we make a variable static it means it will be available for all objects of class. Static Keyword in Java: Static Is just a keyword in java “keyword” means program don’t need to definition static they just have to use it and meaning of key

Android Tutorial:-How to create View Pager With Cover-Flow-Teachmeandroidhub(An animation Under Viewpager).

View-Pager  with Cover-flow  :- This Android tutorial  is all about how to create a wonderful  layout using-view pager  with some special  effect  that called carousel effect also to do such  layout  you don’t need  to add  any  dependencies  to  the  gradle  so let’s start this  tutorial first of all just need to create new Project in android studio I hope you know about how to create new project in android studio   Step -1:- In  this step you have create main activity that may be created with your  new project  creation this layout contain view pager that will adapt image view that I am going to show in this tutorial Activity_main.xml <? xml version= "1.0" encoding= "utf-8" ?> < LinearLayout xmlns: android = "http://schemas.android.com/apk/res/android"     xmlns: tools = "http://schemas.android.com/tools"     android :id= "@+id/activity_main_layout"     android :layout_width= "match_pa

Retrofit Android-Fetching Data With Retrofit-teachmeandroidhub

Teachmeandroidhub             Retrofit Android:- This Tutorial is Develop to describe how to get or fetch data from server with Retrofit in Retrofit is latest Restful Api that  make data accessibility more easy and fast Earlier i i have discussed about post data using retrofit let's see how can be fetching data with Retrofit achieved in Retrofit android topic so let's start step by step and it;s 100% working Step-1 : Create  a Project  Define MainActivity as you want like this. This is may be your main activity in my Activity name is as following first You just Create at first You Create Layouts For this : activity_getusing.xml <?xml version="1.0" encoding="utf-8"?> <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"     xmlns:tools="http://schemas.android.com/tools"     android:layout_width="match_parent"     android:layout_height="