diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2013-05-22 18:05:25 +0200 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2013-05-22 18:05:25 +0200 |
| commit | 6724618c2f30432e4a578c1cdbb2c12b6d794876 (patch) | |
| tree | 8263651c44653aaa7c8f2672803363c85e7c6ce3 /main/src | |
| parent | 2139a3f48c540044b2fbb30eea79bfc3e3c05183 (diff) | |
| download | cgeo-6724618c2f30432e4a578c1cdbb2c12b6d794876.zip cgeo-6724618c2f30432e4a578c1cdbb2c12b6d794876.tar.gz cgeo-6724618c2f30432e4a578c1cdbb2c12b6d794876.tar.bz2 | |
doc: add documentation about the LogHolder position manipulation
Diffstat (limited to 'main/src')
| -rw-r--r-- | main/src/cgeo/geocaching/CacheDetailActivity.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/CacheDetailActivity.java b/main/src/cgeo/geocaching/CacheDetailActivity.java index 4d3a0f0..11c4b4f 100644 --- a/main/src/cgeo/geocaching/CacheDetailActivity.java +++ b/main/src/cgeo/geocaching/CacheDetailActivity.java @@ -2236,10 +2236,24 @@ public class CacheDetailActivity extends AbstractViewPagerActivity<CacheDetailAc statusMarker = (ImageView) base.findViewById(R.id.log_mark); } + /** + * Read the position of the cursor pointed to by this holder. + * <br/> + * This must be called by the UI thread. + * + * @return the cursor position + */ public int getPosition() { return position; } + /** + * Set the position of the cursor pointed to by this holder. + * <br/> + * This must be called by the UI thread. + * + * @param position the cursor position + */ public void setPosition(final int position) { this.position = position; } |
