• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps How to check if view exists

UziTech

Lurker
My application has many spinner views on many different layouts. on different layouts the spinner in a similar place has the same name as spinners on other layouts. is there is a way to check if the view exits?

(example)
((Spinner) FindViewById(R.Id.ProgSpin)).exists()

?
 
Back
Top Bottom