C# Class ImageLoader.MainScreen

Inheritance: Screen
Mostra file Open project: Syderis/CellSDK-Samples

Public Methods

Method Description
BackButtonPressed ( ) : void
Initialize ( ) : void
Update ( GameTime gameTime ) : void

Update method

Private Methods

Method Description
AddImage ( String url ) : void

Add a new image to the user interface

ClearContent ( ) : void

Clear all image content

SearchImages ( String query ) : void

Search images using a query

SearchImagesFromGoogle ( string query, int nImagesPerPage, int startImage ) : void

Search images on Google Images using JSON

WebClientGoogle_openReadCompleted ( object sender, OpenReadCompletedEventArgs e ) : void

When the HTTP request is retourned it shows the images to the grid

Method Details

BackButtonPressed() public method

public BackButtonPressed ( ) : void
return void

Initialize() public method

public Initialize ( ) : void
return void

Update() public method

Update method
public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void