Android Chinese API (27) -- seekbar. onseekbarchangelistener

Source: Internet
Author: User

 

Preface

This chapter is about Android. widget. seekbar. onseekbarchangelistener, version: Android 2.2 R1, translated from madgoat, welcome to his blog: http://madgoat.cn/, thanks again madgoat! I look forward to your participation in Android API Chinese translation, contact me over140@gmail.com.

 

Statement

You are welcome to repost, but please keep the original source of the article :)

Blog Garden: http://www.cnblogs.com/

Android Chinese translation group: http://www.cnblogs.com/over140/

 

Body

I. Structure

    Public static interface seekbar. onseekbarchangelistener

    

Ii. Overview

When the progress changes, the callback function is used to notify the client. This includes changes that are triggered by a user through a gesture, direction key, or trackball, and changes that are triggered by programming.

 

Iii. Public Methods

 

Public abstract void onprogresschanged (seekbar, int progress, Boolean fromuser)

The notification progress has been modified. The client can use the fromuser parameter to distinguish between user-triggered changes and programming-triggered changes.

Parameters

Seekbar of the current modification progress

Current Progress value of SS. The value range is 0 to Max. Max is the value set by the user through setmax (INT). The default value is 100.

Fromuser returns true if it is a user-triggered change

 

Public abstract void onstarttrackingtouch (seekbar)

The user is notified to have started a touch drag gesture. The client may need to disable the seekbar slide function.

Parameters

Seekbar

 

Public abstract void onstoptrackingtouch (seekbar)

The notification user's touch gesture has ended. The user may need to use this to enable the seekbar slide function.

Parameters

Seekbar

 

End

The translation has evolved from an article published on Monday to more than a week now. I'm amazed that one person may only do small things, but a group of people can do big things. Thank you for your support :)

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.