Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Start of the Main Activity code for the Roulette Game on the SSaurel's Channel
package com.ssaurel.roulettegame;
import android.os.Bundle;
import android.view.View;
import android.view.animation.Animation;
import android.view.animation.DecelerateInterpolator;
import android.view.animation.RotateAnimation;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;
import java.util.Random;
import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
public class MainActivity extends AppCompatActivity {
Button spinBtn;
TextView resultTv;
ImageView wheel;
// ...
protected void onCreate(Bundle savedInstanceState) {
// ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.