Code example for View

Methods: findViewById

0
        @Override 
        public View getView(int position, View convertView, ViewGroup parent) {
            if (convertView == null) {
                convertView = getLayoutInflater().inflate(R.layout.developer);
            } 
            Spinner name = (Spinner) convertView.findViewById(R.id.developerName);
            TextView description = (TextView) convertView.findViewById(R.id.developerDescription);
            Developer developer = getItem(position);
            DeveloperLinksAdapter linksAdapter = new DeveloperLinksAdapter(developer);
            name.setAdapter(linksAdapter);
            name.internalSetOnItemClickListener(linksAdapter);
            description.setText(developer.description);
            return convertView;
        } 
    } 
 
    private class EmailLink extends DeveloperLink { 
        private final String subject, to;
 
        public EmailLink(String to, String subject) {
            this.to = to;