Skip to content

Commit

Permalink
Integrated Shares as a HeaderItem and its content as ListRowItem. Rem…
Browse files Browse the repository at this point in the history
…oved Apps(Permanently) and settings(temporary)

Moved the isATV() and Preferences code to the util/Preference.java

Implmented ViewStubs.

Fixed the ServerFileActivity crash in the android app.

Moved the isATV to a different class CheckAtv in the util package

Added the settings activity in the MainTVFragment

Implemented Sign-out, connection and sign-out preferences.

Removed fragment callback to improve structure.

Added network calls and made the TV independent of external fragment callbacks.

Added settings and separator.

Implemented the sort algorithm in the MainTVFragment

server select under construction.

Reformatted the code and improved the indentation, spacing etc
  • Loading branch information
octacode committed Jun 19, 2017
1 parent 6912e72 commit 5f3665d
Show file tree
Hide file tree
Showing 31 changed files with 1,147 additions and 659 deletions.
9 changes: 2 additions & 7 deletions src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,19 +54,14 @@
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />

<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
</intent-filter>

<meta-data
android:name="android.max_aspect"
android:value="2.1" />
</activity>
<activity android:name=".activity.RedirectActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".activity.ServerAppActivity" />
<activity android:name=".activity.ServerFilesActivity">
<meta-data
Expand Down
4 changes: 3 additions & 1 deletion src/main/java/org/amahi/anywhere/AmahiModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
import org.amahi.anywhere.server.ApiModule;
import org.amahi.anywhere.service.AudioService;
import org.amahi.anywhere.service.VideoService;
import org.amahi.anywhere.tv.fragment.MainTVFragment;

import javax.inject.Singleton;

Expand Down Expand Up @@ -71,7 +72,8 @@
ServerFileDownloadingFragment.class,
SettingsFragment.class,
AudioService.class,
VideoService.class
VideoService.class,
MainTVFragment.class
}
)
class AmahiModule {
Expand Down
Loading

0 comments on commit 5f3665d

Please sign in to comment.