GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - l16426434/ZItem: ZItem左右滑动监听

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

13 Commits
13 Commits

Folders and files

NameName
Last commit message
Last commit date
ZItem
ZItem
 
 
bin
bin
 
 
gen/com/zhu/zlistview
gen/com/zhu/zlistview
 
 
libs
libs
 
 
res
res
 
 
src/com/zhu/zlistview
src/com/zhu/zlistview
 
 
.classpath
.classpath
 
 
.project
.project
 
 
AndroidManifest.xml
AndroidManifest.xml
 
 
README.md
README.md
 
 
ic_launcher-web.png
ic_launcher-web.png
 
 
info.png
info.png
 
 
proguard-project.txt
proguard-project.txt
 
 
project.properties
project.properties
 
 

Repository files navigation

image

左右滑动调用 使用方法: 编写布局文件

<com.zhu.zlistview.ZItem
    android:id="@+id/textView1"
    android:layout_width="fill_parent"
    android:layout_height="50dp"
    android:layout_centerHorizontal="true"
    android:layout_centerVertical="true"
    android:text="TextView" >
</com.zhu.zlistview.ZItem>

在代码中

ZItem zitem = (ZItem) findViewById(R.id.textView1);
zitem.setZItemListener(new ZItemListener() {
		
	@Override
	public void onRight() {
		// TODO Auto-generated method stub

	}
		
	@Override
	public void onLeft() {
		// TODO Auto-generated method stub
	}
});

About

ZItem左右滑动监听

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.