filmov
tv
How to create an android image viewer - Part 13 setting panning limits and saving last location

Показать описание
These issues will be addressed in the following tutorial.
Starting with saving the location from the previous pan. And then setting panning limits which match the boundary of the image.
Github details:
or you can run this command
In this tutorial we will cover:
- Using X & Y members for saving the previous pan
- Saving the previous location on the action up event
- Using the previous location values on the action down event
- Setting the boundary limits to match the edges of the image
API's covered
For much more information checkout
The previous tutorials were aimed at beginners to android but over time have been getting more complex as the original camera_intent app has developed.
This tutorial series is more aimed towards the intermediate developers thought for those who have been following the previous tutorial series, feel free to watch this android performance series.
Android studio (1.5) is the editor of choice (IDE) for this tutorial series.
This tutorial series is the start of what I expect to be many so I encourage comments and feedback to improve the quality and viewing experience.
Комментарии