Ultimate

Ultimate

Spread the love

anuj dwivedi

https://www.srpulses.com/indian-pulses-supplier/

Anuj dwivedi

Ultimate Programming Android Developer

package com.example.learning;

import android.os.Bundle;
import android.app.Activity;
import android.view.View;
import android.widget.AdapterView;
import android.widget.GridView;
import android.widget.ListView;
import android.widget.Toast;

public class Home extends Activity {
ListView lv;
String[] web = {
“Home”,
“Books”,
“Videos”,
“Quiz_Text”,
“Contactmenu”,
“User”,
“Share”,
“Policy”,
“Phone”,
“Right_arrw”,
“Youtube”,
“Stumbleupon”,
“SoundCloud”,
“Reddit”,
“Blogger”

} ;
int[] imageId = {
R.drawable.image,
R.drawable.contactimage,
R.drawable.contactmenu,
R.drawable.edit,
R.drawable.icon_a,
R.drawable.mail,
R.drawable.user,
R.drawable.star_btn,
R.drawable.share,
R.drawable.policy,
R.drawable.phone,
R.drawable.md,
R.drawable.right_arrw,
R.drawable.user,
R.drawable.star_btn

};

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);

CustomList adapter = new CustomList(Home.this, web, imageId);
lv=(ListView)findViewById(R.id.grid);
lv.setAdapter(adapter);
lv.setOnItemClickListener(new AdapterView.OnItemClickListener() {

@Override
public void onItemClick(AdapterView<?> parent, View view,
int position, long id) {
Toast.makeText(Home.this, “You Clicked at ” +web[+ position], Toast.LENGTH_SHORT).show();

}
});

}

}

Visit This Link-http://www.pixelprints.net/

Previous New Year Celebration 2018 In India
Next Medical Store In Indore|near|best

About author

You might also like

One Unit Converter & Currency 3.2 Unlocked Apk android app

Spread the love

Spread the loveOne Unit Converter & Currency 3.2 Unlocked Apk One Unit Converter and Currency we outlined One Unit Converter on account of effortlessness and effectiveness. With our application you

Business 0 Comments

Sr Group Satna Madhya Pradesh

Spread the love

Spread the loveSR Group Sr Group Satna Madhya Pradesh A branch of Dr. Raviraj Samajotthan Samiti established in 2014. In the year 2016, Mr- Ravendra Tiwari, came together to establish SR Group as a new

Latest News 0 Comments

RBI Looking Into Cryptocurrencies, ‘Not Comfortable’ With Bitcoin

Spread the love

Spread the loveThe Reserve Bank of India (RBI) has a gathering investigating digital forms of money as legitimate delicate, a senior authority said on Wednesday, yet underlined the national bank’s

Leave a Reply