fragments Archives - Page 2 of 2 - Androhub

Endless Scrolling

Load More Items On Scroll Android (Endless Scrolling)

We pretty much all know the nice technique apps like Gmail, Facebook, etc. use to dynamically load more items to the ListView then you scroll to the bottom. In this article i am going to show you the same thing over ListView and RecyclerView. If you are unaware of ListView and RecyclerView that how to use both views

Read More
Tabs using ViewPager

Android Tab with Swipeable Views using ViewPager

This article shows you how to create tab layout using fragments and viewpager. Also you can swipe between tab view as it is the functionality of viewpager which is not possible when using TabHost. Before getting into this tutorial it is suggested to have knowledge on Fragments and ViewPager as these two are main concepts

Read More
Fragments

Android Fragments

What are fragments? A fragment is an independent Android component which can be used by an activity. A fragment encapsulates functionality so that it is easier to reuse within activities and layouts. A fragment runs in the context of an activity, but has its own life cycle and typically its own user interface. It is

Read More
Components of Android

Android Application Components

Application components are the essential building blocks of an Android application. These components are loosely coupled by the application manifest file AndroidManifest.xml that describes each component of the application and how they interact. There are following four main components that can be used within an Android application: Activities An activity represents a single screen with

Read More