[Solved] My app keeps crashing when i open it


you are passing this in method like setOnItemSelectedListener(this) means you are passing reference of listener as class but you don’t implemented listener, impalement OnItemSelectedListener like following and try,

public class MainActivity extends AppCompatActivity implements  AdapterView.OnItemSelectedListener

3

solved My app keeps crashing when i open it