/android/import-contacts

To get this branch, use:
bzr branch http://bzr.ed.am/android/import-contacts

« back to all changes in this revision

Viewing changes to src/org/waxworlds/importcontacts/WizardActivity.java

  • Committer: edam
  • Date: 2009-01-28 19:55:17 UTC
  • Revision ID: edam@waxworlds.org-20090128195517-z1rmmys8tc8zvgqe
- made behaviour of next button overridable
- added abort button to merge prompt
- moved begin and close buttons to the next button, iverriding its behaviour
- added abort button to import and wired it up
- bugfix: tmp-progress bar didn't fill up when progress max was changed

Show diffs side-by-side

added added

removed removed

43
43
                Button next = (Button)findViewById( R.id.next );
44
44
                next.setOnClickListener( new View.OnClickListener() {
45
45
                        public void onClick( View view ) {
46
 
                                switchToState( _nextState );
 
46
                                onNext();
47
47
                        }
48
48
                } );
49
49
 
65
65
                }
66
66
        }
67
67
 
 
68
        protected void onNext()
 
69
        {
 
70
                switchToState( _nextState );
 
71
        }
 
72
 
68
73
        protected void setNextState( int nextState )
69
74
        {
70
75
                // set next state and enable button