HomeSort by relevance Sort by last modified time
    Searched refs:InjectView (Results 1 - 3 of 3) sorted by null

  /development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/inject/
InjectView.java 31 public @interface InjectView {
Injector.java 30 * @InjectView(R.id.fetch_button)
32 * @InjectView(R.id.submit_button)
34 * @InjectView(R.id.main_view)
64 * Injects all fields that are marked with the {@link InjectView} annotation.
66 * For each field marked with the InjectView annotation, a call to
68 * value() method of the InjectView annotation as the int parameter, and the result of this call
77 if (annotation.annotationType().equals(InjectView.class)) {
80 int idValue = InjectView.class.cast(annotation).value();
  /development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/
AddVoicemailActivity.java 23 import com.example.android.voicemail.common.inject.InjectView;
69 @InjectView(R.id.start_recording_btn)
71 @InjectView(R.id.save_btn)
73 @InjectView(R.id.time)
75 @InjectView(R.id.provider_package)
77 @InjectView(R.id.mime_type)
79 @InjectView(R.id.sender_number)
81 @InjectView(R.id.duration)
89 // Inject all objects that are marked by @InjectView annotation.

Completed in 716 milliseconds