This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| **Privacy Policy** | |
| Tiago Louis Zontag built the Skypage app as a Commercial app. This SERVICE is provided by Tiago Louis Zontag and is intended for use as is. | |
| This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service. | |
| If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy. | |
| The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at Skypage unless otherwise defined in this Privacy Policy. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Foundation | |
| import UIKit | |
| extension UIView { | |
| // Rounded corner raius | |
| @IBInspectable var cornerRadius: CGFloat { | |
| get { | |
| return self.layer.cornerRadius | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Foundation | |
| import UIKit | |
| class KeyboardObserver { | |
| let viewController: UIViewController | |
| let scrollView: UIScrollView | |
| var activeField: UITextField? | |
| init(viewController: UIViewController, scrollView: UIScrollView) { | |
| self.viewController = viewController |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ItemTouchHelper(object : SimpleCallback(0, ItemTouchHelper.LEFT or ItemTouchHelper.RIGHT) { | |
| private var editIcon = ContextCompat.getDrawable( | |
| this@HomeFragment.context, R.mipmap.ic_mode_edit_white_24dp) | |
| private var removeIcon = ContextCompat.getDrawable( | |
| this@HomeFragment.context, R.mipmap.ic_delete_white_24dp) | |
| private var margin = | |
| this@HomeFragment.resources.getDimension(R.dimen.activity_horizontal_margin) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private void IntentToMaps() { | |
| float lat = -25.4377566f; | |
| float lng = -49.2900578f; | |
| String destLabel = "Where the party is at"; | |
| String uri = String.format(Locale.ENGLISH, "http://maps.google.com/maps?daddr=%f,%f (%s)", lat, lng, destLabel); | |
| Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(uri)); | |
| intent.setClassName("com.google.android.apps.maps", "com.google.android.maps.MapsActivity"); | |
| getContext().startActivity(intent); | |
| } |