Skip to content

Commit

Permalink
add attachment & password to post a thread
Browse files Browse the repository at this point in the history
  • Loading branch information
kidozh committed May 12, 2020
1 parent 6dfc490 commit aaf5045
Show file tree
Hide file tree
Showing 38 changed files with 1,603 additions and 129 deletions.
24 changes: 24 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
applicationId "com.kidozh.discuzhub"
minSdkVersion 23
targetSdkVersion 29
versionCode 4
versionName "1.3"
versionCode 5
versionName "1.4"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand Down Expand Up @@ -111,6 +111,10 @@ dependencies {
implementation "com.fasterxml.jackson.core:jackson-annotations:$jackson_version"

implementation "org.jsoup:jsoup:1.12.1"
// for guava
implementation "com.google.guava:guava:28.0-jre"

api "com.google.guava:guava:28.0-android"


}
13 changes: 9 additions & 4 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@
android:name=".activities.bbsShowPortalActivity"
android:label="@string/title_activity_bbs_show_portal" />
<activity android:name=".activities.loginBBSActivity" />
<activity android:name=".activities.showImageFullscreenActivity" />
<activity
android:name=".activities.showImageFullscreenActivity"
android:colorMode="wideColorGamut"
tools:targetApi="o" />
<activity android:name=".activities.ui.bbsDetailedInformation.bbsShowInformationActivity" />
<activity
android:name=".activities.SettingsActivity"
Expand All @@ -50,15 +53,17 @@
<activity
android:name=".activities.SplashScreenActivity"
android:theme="@style/AppTheme.NoActionBar">

</activity>
<activity
android:name=".MainActivity"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".MainActivity"
android:label="@string/app_name" />
<activity android:name=".activities.bbsPostThreadActivity" />

<meta-data
Expand Down
8 changes: 8 additions & 0 deletions app/src/main/java/com/kidozh/discuzhub/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import android.os.Bundle;
import com.google.android.material.floatingactionbutton.FloatingActionButton;
import com.kidozh.discuzhub.activities.SettingsActivity;
import com.kidozh.discuzhub.activities.SplashScreenActivity;
import com.kidozh.discuzhub.activities.aboutAppActivity;
import com.kidozh.discuzhub.adapter.forumInformationAdapter;
import com.kidozh.discuzhub.callback.forumSwipeToDeleteCallback;
Expand Down Expand Up @@ -96,7 +97,14 @@ protected void onCreate(Bundle savedInstanceState) {
bindForumData();
configureFab();
configureSwipeRefreshLayout();
checkTermOfUse();


}

private void checkTermOfUse(){
Intent intent = new Intent(this, SplashScreenActivity.class);
startActivity(intent);
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,9 @@ private void configureDarkMode(){

private void enterMainActivity(){

Intent intent = new Intent(this, MainActivity.class);
startActivity(intent);
//Intent intent = new Intent(this, MainActivity.class);
//startActivity(intent);
finish();
}

private void renderPage(){
Expand Down
Loading

0 comments on commit aaf5045

Please sign in to comment.