Image for post
Image for post
Image by 8926 from Pixabay

As we know, a program consists of lists of instructions. Control structures are programming block that can change the path we take through those instructions or not. It is a syntactic form in a programming language to express flow of control.

In java and also in every other programming language there are three basic control structures:

  • Sequence Structure
  • Repetition Structure
  • Selection Structure

Sequence Structure

This involves the sequential execution of java statements one after the other in the order in which they are written inside the source code — much like reading a recipe for preparing a food or a book. They…


Image for post
Image for post
Image by Christian Wiediger on Unsplash

Introduction

Recyclerview class extends the ViewGroup class and implements scrollingView interface. It is an advanced version of the listview. It is an improvement to both listview and gridview and can be found in the latest v-7 support packages . This improvement is achieved by recycling the views which are out of the visibility of the user and as such minimizing memory usage. For example, if a user scrolled down in an app’s screen with list of items rendered using recyclerview to a position where items 4 and 5 are the only visible items on the user’s screen at that point in…


Image for post
Image for post
Image by 8926 from Pixabay

As we know, a program consists of lists of instructions. Control structures are programming block that can change the path we take through those instructions or not. It is a syntactic form in a programming language to express flow of control.

In java and also in every other programming language there are three basic control structures:

  • Sequence Structure
  • Repetition Structure
  • Selection Structure

This involves the sequential execution of java statements one after the other in the order in which they are written inside the source code — much like reading a recipe for preparing a food or a book. They…

Chidume Kenneth

Am from Nigeria

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store