Skip to content

Commit

Permalink
activities and fragments are converted to Kotlin
Browse files Browse the repository at this point in the history
  • Loading branch information
ozgegn committed May 4, 2021
1 parent af20dad commit ac17095
Show file tree
Hide file tree
Showing 29 changed files with 1,476 additions and 2,135 deletions.
4 changes: 4 additions & 0 deletions app/build.gradle
Expand Up @@ -70,6 +70,10 @@ android {
jvmTarget = '1.8'
}

buildFeatures {
viewBinding true
}

}

dependencies {
Expand Down
39 changes: 0 additions & 39 deletions app/src/main/AndroidManifest.xml
Expand Up @@ -24,10 +24,6 @@
android:name=".publish.UploadManagerActivity"
android:label="@string/title_activity_upload_manager"
android:theme="@style/AppTheme.NoActionBar" />
<activity
android:name=".media.PreviewMediaListActivity"
android:label="@string/title_activity_batch_media_review"
android:theme="@style/AppTheme.NoActionBar" />
<activity
android:name=".projects.AddProjectActivity"
android:label="@string/title_activity_new_project"
Expand Down Expand Up @@ -69,16 +65,6 @@
android:name=".onboarding.SpaceSetupActivity"
android:label="@string/title_activity_first_start"
android:screenOrientation="portrait" />
<activity
android:name=".media.ReviewMediaActivity"
android:label="@string/title_activity_view_media"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".media.BatchReviewMediaActivity"
android:label="@string/title_activity_batch_view_media"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".services.archivedotorg.ArchiveSettingsActivity"
android:label="@string/title_activity_archive_metadata"
Expand All @@ -94,22 +80,11 @@
android:value="net.opendasharchive.openarchive.onboarding.SpaceSetupActivity" />
</activity>

<activity
android:name=".core.AboutActivity"
android:label="@string/title_activity_about"
android:parentActivityName=".MainActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="net.opendasharchive.openarchive.MainActivity" />
</activity>
<activity
android:name=".onboarding.OAAppIntro"
android:label="App Intro"
android:screenOrientation="portrait"
/>
<activity
android:name=".core.SettingsActivity"
android:label="App Intro" />
<activity
android:name=".services.webdav.WebDAVLoginActivity"
android:label="@string/title_activity_login" />
Expand All @@ -119,20 +94,6 @@
<activity
android:name=".services.dropbox.DropboxLoginActivity"
android:label="@string/title_activity_login" />
<activity
android:name=".core.SpaceSettingsActivity"
android:label="@string/title_activity_space_settings" >

<intent-filter>
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data
android:scheme="nc" />
</intent-filter>
</activity>

<meta-data
android:name="DOMAIN_PACKAGE_NAME"
Expand Down
Expand Up @@ -36,15 +36,15 @@
import com.zhihu.matisse.internal.entity.CaptureStrategy;

import net.i2p.android.ext.floatingactionbutton.FloatingActionButton;
import net.opendasharchive.openarchive.core.SpaceSettingsActivity;
import net.opendasharchive.openarchive.db.Collection;
import net.opendasharchive.openarchive.db.Media;
import net.opendasharchive.openarchive.db.Project;
import net.opendasharchive.openarchive.db.ProjectAdapter;
import net.opendasharchive.openarchive.db.Space;
import net.opendasharchive.openarchive.features.core.SpaceSettingsActivity;
import net.opendasharchive.openarchive.features.media.PreviewMediaListActivity;
import net.opendasharchive.openarchive.features.media.ReviewMediaActivity;
import net.opendasharchive.openarchive.fragments.MediaListFragment;
import net.opendasharchive.openarchive.media.PreviewMediaListActivity;
import net.opendasharchive.openarchive.media.ReviewMediaActivity;
import net.opendasharchive.openarchive.onboarding.OAAppIntro;
import net.opendasharchive.openarchive.projects.AddProjectActivity;
import net.opendasharchive.openarchive.publish.UploadManagerActivity;
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit ac17095

Please sign in to comment.