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

Featured

How to create muliple fragment image display in common Frame

  In the below example I have created a multiple fragment images use in common Frame . In first step, First I have created a fragment_common.xml layout , here I have added four ImageView. After then I have created four new xml layout -...

How to make Tabs ViewPager with the using Fragments in android

In the below example I have created a Tabs ViewPager by using three fragments. Before creating layout firstly I have added design libraries in the dependencies section of build.gradle file. Then I have created three fragments layout, in this I ha...

How to communication between an Activity and Fragments in android

In the below example I have created a commuication between an activity and fragments classes. In the below example user enters name in SendFragment part and click submit button then in second fragment on displayFragment show user name input resul...

How to create Fragment Communication in android

In the below example I am describing "how to communicate fragments"?, fragment is a part of Activity in android. In one Activity we can use multiple fragment easily and each fragment have it's own functinality. Without activity we c...

Manage menu items visibility in fragments

Creating menus in activities is a good choice but what would be if we are creating menus in each fragments ? Basically a fragment depends on Activity life cycles and its parent activity features so if you want to create different different men...

Communication between Fragments

Here I will explain how we can communicate between two fragments in an Activity. There are many situations where we have to communicate two fragments like we have to pass data between fragments in some events. Here I will communicate through Inte...

Using ViewPager for Screen Slides in Android

ViewPagers have built-in swipe gestures to transition through pages You don't need to add any animation. sample code : Set your main Activity layout as: in mainactivity Layout xml file set relative layout,in it set the view p...
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: