0

I've imported the Draggable Panel sample and lib. I am using plain eclipse and ADT I've set up the libs and build path and library projects. Project structure looks like this Also I set up the factory path for the annotation processing. Here is the image.

<factorypath>
    <factorypathentry kind="WKSPJAR" id="/MainActivity/libs/dagger-compiler-1.2.1.jar" enabled="true" runInBatchMode="false"/>
    <factorypathentry kind="WKSPJAR" id="/MainActivity/libs/javawriter-2.5.0.jar" enabled="true" runInBatchMode="false"/>
    <factorypathentry kind="WKSPJAR" id="/MainActivity/libs/dagger-1.2.1.jar" enabled="true" runInBatchMode="false"/>
    <factorypathentry kind="WKSPJAR" id="/MainActivity/libs/javax.inject-1.jar" enabled="true" runInBatchMode="false"/>
</factorypath>

The projects compile fine, but the view are not injecting or initialized. for example the below code does not work.

@OnClick(R.id.iv_places)
void openSimpleSampleActivity() {
    Intent intent = new Intent(this, PlacesSampleActivity.class);
    startActivity(intent);
}

Am I missing something?

Sunny
  • 14,522
  • 15
  • 84
  • 129

0 Answers0