Open akkisjoy opened 9 years ago
AbstractWheel wheelHorizontalView1 = (AbstractWheel) findViewById(R.id.wheelHorizontalView1); NumericWheelAdapter minAdapter = new NumericWheelAdapter(this, 1, 15, "%01d"); minAdapter.setItemResource(R.layout.wheel_text_centered_dark_back); minAdapter.setItemTextResource(R.id.text); wheelHorizontalView1.setViewAdapter(minAdapter);
I added this, Now how to get selected text.
Please, refer to this question, http://stackoverflow.com/questions/29886579/how-to-get-selected-text-using-android-spinner-wheel
AbstractWheel wheelHorizontalView1 = (AbstractWheel) findViewById(R.id.wheelHorizontalView1); NumericWheelAdapter minAdapter = new NumericWheelAdapter(this, 1, 15, "%01d"); minAdapter.setItemResource(R.layout.wheel_text_centered_dark_back); minAdapter.setItemTextResource(R.id.text); wheelHorizontalView1.setViewAdapter(minAdapter);
I added this, Now how to get selected text.
Please, refer to this question, http://stackoverflow.com/questions/29886579/how-to-get-selected-text-using-android-spinner-wheel