Skip to content

Commit

Permalink
better package structure
Browse files Browse the repository at this point in the history
  • Loading branch information
konmik committed May 7, 2016
1 parent 3c31790 commit 7e1209f
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion nucleus-example-real-life/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
android:label="@string/app_name">

<activity
android:name="nucleus.example.main.MainActivity"
android:name=".io.main.MainActivity"
android:theme="@style/Theme.AppCompat.NoActionBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
import javax.inject.Singleton;

import dagger.Component;
import nucleus.example.item.ItemPresenter;
import nucleus.example.main.MainActivity;
import nucleus.example.main.MainPresenter;
import nucleus.example.io.item.ItemPresenter;
import nucleus.example.io.main.MainActivity;
import nucleus.example.io.main.MainPresenter;
import nucleus.example.network.NetworkModule;

@Singleton
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package nucleus.example.item;
package nucleus.example.io.item;

import android.os.Bundle;
import android.support.annotation.Nullable;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package nucleus.example.item;
package nucleus.example.io.item;

import android.content.SharedPreferences;
import android.os.Bundle;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package nucleus.example.main;
package nucleus.example.io.main;

import android.content.SharedPreferences;
import android.os.Bundle;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package nucleus.example.main;
package nucleus.example.io.main;

import android.os.Bundle;
import android.support.annotation.Nullable;
Expand All @@ -16,7 +16,7 @@
import nucleus.example.R;
import nucleus.example.base.BaseFragment;
import nucleus.example.network.ServerAPI;
import nucleus.example.item.ItemFragment;
import nucleus.example.io.item.ItemFragment;
import nucleus.factory.RequiresPresenter;

@RequiresPresenter(MainPresenter.class)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package nucleus.example.main;
package nucleus.example.io.main;

import android.content.SharedPreferences;
import android.os.Bundle;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".main.MainActivity">
tools:context=".io.main.MainActivity">

<LinearLayout
android:layout_width="match_parent"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".main.MainActivity">
tools:context=".io.main.MainActivity">

<TextView
android:id="@android:id/text1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".main.MainActivity">
tools:context=".io.main.MainActivity">

<LinearLayout
android:layout_width="match_parent"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
android:label="@string/app_name">

<activity
android:name="nucleus.example.main.MainActivity"
android:name="nucleus.example.io.main.MainActivity"
android:theme="@style/Theme.AppCompat.NoActionBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down

0 comments on commit 7e1209f

Please sign in to comment.