-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* MOBILEAPPS-2089 (#300) * disabled favorite feature below 23 version * json parsed and architecture created for dynamic form * removed login changes * removed commented code * MOBILEAPPS-2091 (#302) * added single-line text component * fixed review correction * MOBILEAPPS-2093 (#303) * added multi-line-text component * optimized code and added few params * added number component (#304) * Mobileapps 2145 (#305) * added amount component * added checks for empty * added checks for float value * code optimized * Mobileapps 2139 (#306) * added checkbox component * added string resource * added datee and time field (#307) * added dropdown field (#308) * added radio component field (#309) * added readonly field (#310) * ADST-28 (#311) * added people field * added people field * ADST-26 (#312) * added functional group field * added ammendments * set the size of checkbox * ADST-44 (#313) * retain data on scroll * added hyperlink field * ADST-44 (#314) * retain data on scroll * added hyperlink field * added underline * ADST-221 (#315) * added hyperlink ammendments * added default and custom outcomes * added string resources * added string resources * ADST-35 (#316) * added hostname check to redirect the URL * code refactor * added validation and disbaled buttons state * Revert "ADST-35 (#316)" (#317) This reverts commit 84ed440. * ADST-35 (#318) * added hostname check to redirect the URL * code refactor * added validation and disbaled buttons state * update scenarios of required data * ADST-259 (#319) * added hostname check to redirect the URL * code refactor * added validation and disbaled buttons state * update scenarios of required data * color theme fixed * removed space from FAB * code optimized * ADST-31 (#320) * submit collected data to server * code optimized * ADST-23 (#321) * submit collected data to server * code optimized * added UI for attachments * added attach files component * code optimize * ADST-261 (#323) * fixed crash * optimize error handling * add more sceanrio to error handling * ADST-47 (#324) * fixed crash * optimize error handling * add more sceanrio to error handling * linked search screen * added folder search screen * get result from folder search * ADST-49 (#325) * fixed crash * optimize error handling * add more sceanrio to error handling * linked search screen * added folder search screen * get result from folder search * code optimized * code optimized * view process after creation * ADST-286 (#326) * added confirmation dialog if any of the file is not uploaded * added bottom banner * string files updated * added empty files view (#327) * ADST-286 (#328) * updated syncing architecture * added title of view workflow * handle single or multiple selection * view data process scenario updated * fixed save issue * ADST-326 (#329) * localisation updated * selected content show in process * added taskview feedbacks * update view color, and update title (#330) * ADST-386 (#331) * update folder flow * able to view the attachments * ADST-379 (#333) * fixed multiline issue * fix date format * ADST-380 (#332) * fixed invalid url crash * code optimsation * ADST-382 (#334) * limit file to 10mb for uploading the data * fixed orientation * update strings (#335)
- Loading branch information
1 parent
eddc7bf
commit 6e810b4
Showing
171 changed files
with
6,504 additions
and
1,030 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 55 additions & 0 deletions
55
app/src/main/java/com/alfresco/content/app/activity/ProcessActivity.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
package com.alfresco.content.app.activity | ||
|
||
import android.content.pm.ActivityInfo | ||
import android.os.Bundle | ||
import androidx.lifecycle.lifecycleScope | ||
import androidx.navigation.fragment.NavHostFragment | ||
import com.airbnb.mvrx.MavericksView | ||
import com.alfresco.content.actions.Action | ||
import com.alfresco.content.app.R | ||
import com.alfresco.content.app.databinding.ActivityProcessBinding | ||
import com.alfresco.content.app.widget.ActionBarController | ||
import com.alfresco.content.app.widget.ActionBarLayout | ||
import com.alfresco.content.common.BaseActivity | ||
|
||
class ProcessActivity : BaseActivity(), MavericksView { | ||
|
||
private lateinit var binding: ActivityProcessBinding | ||
private lateinit var actionBarController: ActionBarController | ||
|
||
override fun onCreate(savedInstanceState: Bundle?) { | ||
super.onCreate(savedInstanceState) | ||
binding = ActivityProcessBinding.inflate(layoutInflater) | ||
setContentView(binding.root) | ||
|
||
if (!resources.getBoolean(R.bool.isTablet)) { | ||
requestedOrientation = ActivityInfo.SCREEN_ORIENTATION_PORTRAIT | ||
} | ||
|
||
configureNav() | ||
setupActionToasts() | ||
} | ||
|
||
private fun configureNav() { | ||
val navHostFragment = | ||
supportFragmentManager.findFragmentById(R.id.nav_host_fragment) as NavHostFragment | ||
val navController = navHostFragment.navController | ||
val inflater = navController.navInflater | ||
val graph = inflater.inflate(R.navigation.nav_process_paths) | ||
navController.setGraph(graph, intent.extras) | ||
val actionBarLayout = findViewById<ActionBarLayout>(R.id.toolbar) | ||
actionBarController = ActionBarController(actionBarLayout) | ||
actionBarController.setupActionBar(this, navController) | ||
|
||
actionBarLayout.toolbar.setNavigationOnClickListener { onBackPressed() } | ||
} | ||
|
||
private fun setupActionToasts() = Action.showActionToasts( | ||
lifecycleScope, | ||
binding.root, | ||
binding.bottomView, | ||
) | ||
|
||
override fun invalidate() { | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:app="http://schemas.android.com/apk/res-auto" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:orientation="vertical"> | ||
|
||
<include layout="@layout/layout_toolbar" /> | ||
|
||
<fragment | ||
android:id="@+id/nav_host_fragment" | ||
android:name="androidx.navigation.fragment.NavHostFragment" | ||
android:layout_width="match_parent" | ||
android:layout_height="0dp" | ||
android:layout_weight="1" | ||
app:defaultNavHost="true" /> | ||
|
||
<View | ||
android:layout_width="match_parent" | ||
android:layout_height="1dp" | ||
android:background="@android:color/white" | ||
android:backgroundTint="?attr/separatorColor" /> | ||
<View | ||
android:id="@+id/bottom_view" | ||
android:layout_width="match_parent" | ||
android:layout_height="0dp" | ||
android:background="@android:color/white" | ||
android:backgroundTint="?attr/separatorColor" | ||
android:visibility="visible" /> | ||
|
||
</LinearLayout> |
Oops, something went wrong.