android - Can't use OnClickListener on TileView -


I am using this project to display large images and add markers to Android, this is well Except that when I see an OnClickListener does not work, I use the code:

  The public class applies the MainActivity ActionBarActivity OnClickListener {TileView tileView; @ Override Protected Zero (Bundle Saved Instantstate) {Super. NET (Saved Instantstate); SetContentView (R.layout.activity_main); Tile View = new tile view (this); Tileview .Set Size (1066, 678); Tile View.DedelLowell (1.000f, "Arc / Tiles / Arch-% col% _% row% .png", "arc / arc.png"); TileView.setClickable (true); SetContentView (Tile View); TileView.setOnClickListener (this); } Click @ Override Public Wide OnClick (see View) {// do to}}  

What I should do OnClickListener works

< Div class = "post-text" itemprop = "text">

tile view apparently a TileView Event Listener interface, and addTileViewEventListener () Defines the method. I use the Fingerdown () and / or onFingerUp () methods on the interface.

will suggest using them,

Comments

Popular posts from this blog

Member with no value in F# -

java - Joda Time Interval Not returning what I expect -

c# - Showing a SelectedItem's Property -