Browse Source

move dm related Activities to their own package

legacy
Ammar Githam 4 years ago
parent
commit
066a453aa8
  1. 8
      app/src/main/AndroidManifest.xml
  2. 1
      app/src/main/java/awais/instagrabber/activities/Main.java
  3. 6
      app/src/main/java/awais/instagrabber/activities/directmessages/DirectMessageThread.java
  4. 3
      app/src/main/java/awais/instagrabber/activities/directmessages/DirectMessages.java
  5. 2
      app/src/main/res/layout/activity_dms.xml

8
app/src/main/AndroidManifest.xml

@ -215,7 +215,7 @@
</activity> </activity>
<activity <activity
android:name=".activities.DirectMessages"
android:name=".activities.directmessages.DirectMessages"
android:parentActivityName=".activities.Main"> android:parentActivityName=".activities.Main">
<meta-data <meta-data
@ -224,12 +224,12 @@
</activity> </activity>
<activity <activity
android:name=".activities.DirectMessageThread"
android:parentActivityName=".activities.DirectMessages">
android:name=".activities.directmessages.DirectMessageThread"
android:parentActivityName=".activities.directmessages.DirectMessages">
<meta-data <meta-data
android:name="android.support.PARENT_ACTIVITY" android:name="android.support.PARENT_ACTIVITY"
android:value=".activities.DirectMessages" />
android:value=".activities.directmessages.DirectMessages" />
</activity> </activity>
<provider <provider

1
app/src/main/java/awais/instagrabber/activities/Main.java

@ -29,6 +29,7 @@ import java.util.Stack;
import awais.instagrabber.BuildConfig; import awais.instagrabber.BuildConfig;
import awais.instagrabber.MainHelper; import awais.instagrabber.MainHelper;
import awais.instagrabber.R; import awais.instagrabber.R;
import awais.instagrabber.activities.directmessages.DirectMessages;
import awais.instagrabber.adapters.HighlightsAdapter; import awais.instagrabber.adapters.HighlightsAdapter;
import awais.instagrabber.adapters.SuggestionsAdapter; import awais.instagrabber.adapters.SuggestionsAdapter;
import awais.instagrabber.asyncs.SuggestionsFetcher; import awais.instagrabber.asyncs.SuggestionsFetcher;

6
app/src/main/java/awais/instagrabber/activities/DirectMessageThread.java → app/src/main/java/awais/instagrabber/activities/directmessages/DirectMessageThread.java

@ -1,4 +1,4 @@
package awais.instagrabber.activities;
package awais.instagrabber.activities.directmessages;
import android.app.Activity; import android.app.Activity;
import android.content.Intent; import android.content.Intent;
@ -24,6 +24,10 @@ import java.util.Collections;
import java.util.List; import java.util.List;
import awais.instagrabber.R; import awais.instagrabber.R;
import awais.instagrabber.activities.BaseLanguageActivity;
import awais.instagrabber.activities.PostViewer;
import awais.instagrabber.activities.ProfileViewer;
import awais.instagrabber.activities.StoryViewer;
import awais.instagrabber.adapters.MessageItemsAdapter; import awais.instagrabber.adapters.MessageItemsAdapter;
import awais.instagrabber.asyncs.direct_messages.CommentAction; import awais.instagrabber.asyncs.direct_messages.CommentAction;
import awais.instagrabber.asyncs.direct_messages.UserInboxFetcher; import awais.instagrabber.asyncs.direct_messages.UserInboxFetcher;

3
app/src/main/java/awais/instagrabber/activities/DirectMessages.java → app/src/main/java/awais/instagrabber/activities/directmessages/DirectMessages.java

@ -1,4 +1,4 @@
package awais.instagrabber.activities;
package awais.instagrabber.activities.directmessages;
import android.content.Intent; import android.content.Intent;
import android.os.AsyncTask; import android.os.AsyncTask;
@ -16,6 +16,7 @@ import java.util.Arrays;
import awais.instagrabber.R; import awais.instagrabber.R;
import awais.instagrabber.BuildConfig; import awais.instagrabber.BuildConfig;
import awais.instagrabber.activities.BaseLanguageActivity;
import awais.instagrabber.adapters.DirectMessagesAdapter; import awais.instagrabber.adapters.DirectMessagesAdapter;
import awais.instagrabber.asyncs.direct_messages.InboxFetcher; import awais.instagrabber.asyncs.direct_messages.InboxFetcher;
import awais.instagrabber.customviews.helpers.RecyclerLazyLoader; import awais.instagrabber.customviews.helpers.RecyclerLazyLoader;

2
app/src/main/res/layout/activity_dms.xml

@ -5,7 +5,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:orientation="vertical" android:orientation="vertical"
tools:context=".activities.DirectMessages">
tools:context=".activities.directmessages.DirectMessages">
<include <include
android:id="@+id/toolbar" android:id="@+id/toolbar"

Loading…
Cancel
Save