- Switching between sibling elements
- Action bar can do this through tabs, or spinners
- "Implementing Effective Navigation"
- Action Bar compatibility for 2.1+ * No need to rush off ABS, but for new apps, go for ActionBarCompat
- View Pager
- Trying to more automatically reorder graphics commands you give so that they're done in an optimal order
- Also merging individual draw commands into groups of like commands for efficiency
- All automatic, and potentitally available in the future
- During sign-in, Play offers the user to install your app on their device, if they have a compatible device.
- The user will also automatically be signed in on that device
- Integrated with Play Services, so is already on many devices
- Does all the OAuth2 token management for you
- Based on IntelliJ IDEA
- Can warn you when you might be passing an incorrect variable based on a comparison of the variable name and the method name
- Find action popup allows you to search for actions you can do by searching by their name
- More extensible, customizable, more stable API
- Unify the build for the IDE and CI servers
This file contains 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
hourPaint = new Paint(); | |
hourPaint.setARGB(255, 200, 200, 200); | |
hourPaint.setStrokeWidth(6F); | |
hourPaint.setAntiAlias(true); | |
hourPaint.setStrokeCap(Paint.Cap.ROUND); | |
// ... | |
float hrX = (float) Math.sin(hrRot) * hrLength; | |
float hrY = (float) -Math.cos(hrRot) * hrLength; |
This file contains 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
switch (metric) { | |
case "status": | |
return buildStatusResponse(); | |
case "ability": // Close enough! | |
case "stability": | |
return buildStabilityResponse(); | |
case "grove": // Uh, sure. | |
case "gross": // This is how I feel. | |
case "growth": | |
return buildGrowthResponse(); |
This file contains 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
switch (metric) { | |
case "status": | |
return buildStatusResponse(); | |
case "stability": | |
return buildStabilityResponse(); | |
case "growth": | |
return buildGrowthResponse(); | |
case "retention": | |
return buildRetentionResponse(); | |
default: |
This file contains 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
package io.fabric.alexaskills.util; | |
import java.util.function.Consumer; | |
public class SsmlBuilder implements SsmlPhrase { | |
private final StringBuilder stringBuilder; | |
private boolean built = false; | |
public SsmlBuilder() { | |
stringBuilder = new StringBuilder(); |