Implementation should be low on priority list.
Enterprise friendly:
/*
* Author: Rest Time
* Date: July 12, 2013
* Description: Hideous
*
*/
// Importing the R/a/dio Android application package
import io.radio.android;
// Importing the Github Enhancement class part of the Github package
import com.github.Enhancement;
// Declaring the class which extends the Enhancement class of the Github Package
public class FeatureImplementation extends Enhancement {
// A private variable we use to increment the level of our ricing.
private static int RICE_LEVEL_INCREMENT = 1;
// A function that runs when the the class begins the implementation
@Override
public void onImplementation(Android-app app) {
RiceIncreaser riceIncreaser = new RiceIncreaser(); // Create a new RiceIncreaser so we can increase the rice
riceIncreaser.increaseRice(app); // Executing the rice increasing function of the RiceIncreaser class.
}
// A new class which contains the function we wish to run
private class RiceIncreaser {
/*
* @param: something
* @description: whatever
*/
private void increaseRice(Android-app radioApp) {
// We increment the rice level with the increment level defined at the top of the class.
radioApp.setRiceLevel(radioApp.getRiceLevel() + RICE_LEVEL_INCREMENT);
}
}
} // Why did you scroll all the way here to read this? Stop scrolling.
// Oh god why did I my spend time doing this?
Probably too much work for poor XML layouts unless you want to override their draw/position calls.
I'm pretty sure Google used Canvas API since waaaay back in Play Music which is just too much effort for this.
Implementation should be low on priority list. Enterprise friendly: