17 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/exception/AuthNullOrBlankException.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.exception
2 |
3 | import java.io.IOException
4 |
5 | class AuthNullOrBlankException: IOException() {}
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/helper/GithubConfigHelper.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.helper
2 |
3 | import com.fastaccess.BuildConfig
4 |
5 | /**
6 | * Created by thermatk on 12.04.17.
7 | */
8 | object GithubConfigHelper {
9 | @JvmStatic
10 | val redirectUrl = "fasthub://login"
11 |
12 | @JvmStatic
13 | val clientId = BuildConfig.GITHUB_CLIENT_ID
14 |
15 | @JvmStatic
16 | val secret = BuildConfig.GITHUB_SECRET
17 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/helper/ObjectsCompat.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.helper
2 |
3 | /**
4 | * Created by Kosh on 18 Apr 2017, 10:57 PM
5 | */
6 | object ObjectsCompat {
7 | @JvmStatic
8 | fun nonNull(obj: Any?): Boolean {
9 | return obj != null
10 | }
11 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/helper/TypeFaceHelper.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.helper
2 |
3 | import android.content.Context
4 | import android.graphics.Typeface
5 | import android.widget.TextView
6 |
7 | /**
8 | * Created by Kosh on 17/12/15 10:25 PM
9 | */
10 | object TypeFaceHelper {
11 | lateinit var typeface: Typeface
12 |
13 | @JvmStatic
14 | fun generateTypeface(context: Context) {
15 | typeface = Typeface.createFromAsset(context.assets, "fonts/app_font.ttf")
16 | }
17 |
18 | @JvmStatic
19 | fun applyTypeface(textView: TextView) {
20 | textView.typeface = typeface
21 | }
22 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/provider/crash/Report.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.provider.crash
2 |
3 | import android.content.Context
4 | import timber.log.Timber
5 |
6 | class Report {
7 | companion object {
8 | fun init(context: Context) {
9 | }
10 |
11 | fun reportCatchException(e: Exception) {
12 | Timber.e(e, "FastHub-Re Crash Report")
13 | }
14 | }
15 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/provider/markdown/extension/emoji/Emoji.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.provider.markdown.extension.emoji
2 |
3 | import org.commonmark.node.CustomNode
4 | import org.commonmark.node.Delimited
5 |
6 | /**
7 | * Created by kosh on 20/08/2017.
8 | */
9 | class Emoji : CustomNode(), Delimited {
10 | override fun getOpeningDelimiter(): String {
11 | return DELIMITER
12 | }
13 |
14 | override fun getClosingDelimiter(): String {
15 | return DELIMITER
16 | }
17 |
18 | companion object {
19 | private const val DELIMITER = ":"
20 | }
21 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/provider/markdown/extension/mention/Mention.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.provider.markdown.extension.mention
2 |
3 | import org.commonmark.node.CustomNode
4 | import org.commonmark.node.Delimited
5 |
6 | /**
7 | * Created by kosh on 20/08/2017.
8 | */
9 | class Mention : CustomNode(), Delimited {
10 | override fun getOpeningDelimiter(): String {
11 | return DELIMITER
12 | }
13 |
14 | override fun getClosingDelimiter(): String {
15 | return " "
16 | }
17 |
18 | companion object {
19 | private const val DELIMITER = "@"
20 | }
21 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/provider/rest/interceptors/ContentTypeInterceptor.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.provider.rest.interceptors
2 |
3 | import okhttp3.Interceptor
4 | import okhttp3.Response
5 |
6 | /**
7 | * Created by Kosh on 05 Jul 2017, 8:14 PM
8 | */
9 |
10 | class ContentTypeInterceptor : Interceptor {
11 | override fun intercept(chain: Interceptor.Chain): Response {
12 | val request = chain.request()
13 | return chain.proceed(request.newBuilder()
14 | .addHeader("Accept", "application/vnd.github.v3+json")
15 | .addHeader("Content-type", "application/vnd.github.v3+json")
16 | .method(request.method, request.body)
17 | .build())
18 | }
19 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/provider/rest/loadmore/OnLoadMore.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.provider.rest.loadmore
2 |
3 | import com.fastaccess.ui.base.mvp.BaseMvp.PaginationListener
4 | import com.fastaccess.ui.widgets.recyclerview.scroll.InfiniteScroll
5 |
6 | open class OnLoadMore @JvmOverloads constructor(
7 | private val presenter: PaginationListener
?,
8 | var parameter: P? = null
9 | ) : InfiniteScroll() {
10 | override fun onLoadMore(page: Int, totalItemsCount: Int): Boolean {
11 | if (presenter != null) {
12 | presenter.previousTotal = totalItemsCount
13 | return presenter.onCallApi(page + 1, parameter)
14 | }
15 | return false
16 | }
17 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/provider/timeline/handler/ItalicHandler.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.provider.timeline.handler
2 |
3 | import android.graphics.Typeface
4 | import android.text.SpannableStringBuilder
5 | import com.zzhoujay.markdown.style.FontSpan
6 | import net.nightwhistler.htmlspanner.TagNodeHandler
7 | import org.htmlcleaner.TagNode
8 |
9 | /**
10 | * Created by Kosh on 06 May 2017, 11:02 AM
11 | */
12 | class ItalicHandler : TagNodeHandler() {
13 | override fun handleTagNode(
14 | node: TagNode,
15 | builder: SpannableStringBuilder,
16 | start: Int,
17 | end: Int
18 | ) {
19 | builder.setSpan(FontSpan(1F, Typeface.ITALIC), start, builder.length, 33)
20 | }
21 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/provider/timeline/handler/StrikethroughHandler.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.provider.timeline.handler
2 |
3 | import android.text.SpannableStringBuilder
4 | import android.text.style.StrikethroughSpan
5 | import net.nightwhistler.htmlspanner.TagNodeHandler
6 | import org.htmlcleaner.TagNode
7 |
8 | class StrikethroughHandler : TagNodeHandler() {
9 | override fun handleTagNode(
10 | node: TagNode,
11 | builder: SpannableStringBuilder,
12 | start: Int,
13 | end: Int
14 | ) {
15 | builder.setSpan(StrikethroughSpan(), start, end, 33)
16 | }
17 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/provider/timeline/handler/SubScriptHandler.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.provider.timeline.handler
2 |
3 | import android.text.SpannableStringBuilder
4 | import android.text.style.RelativeSizeSpan
5 | import android.text.style.SubscriptSpan
6 | import net.nightwhistler.htmlspanner.TagNodeHandler
7 | import org.htmlcleaner.TagNode
8 |
9 | class SubScriptHandler : TagNodeHandler() {
10 | override fun handleTagNode(
11 | node: TagNode,
12 | builder: SpannableStringBuilder,
13 | start: Int,
14 | end: Int
15 | ) {
16 | builder.setSpan(SubscriptSpan(), start, end, 33)
17 | builder.setSpan(RelativeSizeSpan(0.8f), start, end, 33)
18 | }
19 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/provider/timeline/handler/SuperScriptHandler.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.provider.timeline.handler
2 |
3 | import android.text.SpannableStringBuilder
4 | import android.text.style.RelativeSizeSpan
5 | import android.text.style.SuperscriptSpan
6 | import net.nightwhistler.htmlspanner.TagNodeHandler
7 | import org.htmlcleaner.TagNode
8 |
9 | class SuperScriptHandler : TagNodeHandler() {
10 | override fun handleTagNode(
11 | node: TagNode,
12 | builder: SpannableStringBuilder,
13 | start: Int,
14 | end: Int
15 | ) {
16 | builder.setSpan(SuperscriptSpan(), start, end, 33)
17 | builder.setSpan(RelativeSizeSpan(0.8f), start, end, 33)
18 | }
19 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/provider/timeline/handler/UnderlineHandler.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.provider.timeline.handler
2 |
3 | import android.text.SpannableStringBuilder
4 | import android.text.style.UnderlineSpan
5 | import net.nightwhistler.htmlspanner.TagNodeHandler
6 | import org.htmlcleaner.TagNode
7 |
8 | class UnderlineHandler : TagNodeHandler() {
9 | override fun handleTagNode(
10 | tagNode: TagNode,
11 | spannableStringBuilder: SpannableStringBuilder,
12 | start: Int,
13 | end: Int
14 | ) {
15 | spannableStringBuilder.setSpan(UnderlineSpan(), start, end, 33)
16 | }
17 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/adapter/callback/OnToggleView.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.adapter.callback
2 |
3 | interface OnToggleView {
4 | fun onToggle(id: Long, isCollapsed: Boolean): Boolean
5 | fun isCollapsed(id: Long): Boolean
6 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/adapter/callback/ReactionsCallback.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.adapter.callback
2 |
3 | /**
4 | * Created by Kosh on 03 Apr 2017, 2:52 PM
5 | */
6 | interface ReactionsCallback {
7 | fun isPreviouslyReacted(id: Long, vId: Int): Boolean
8 | fun isCallingApi(id: Long, vId: Int): Boolean
9 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/adapter/viewholder/SimpleViewHolder.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.adapter.viewholder
2 |
3 | import android.view.View
4 | import com.fastaccess.R
5 | import com.fastaccess.ui.base.adapter.BaseRecyclerAdapter
6 | import com.fastaccess.ui.base.adapter.BaseViewHolder
7 | import com.fastaccess.ui.widgets.FontTextView
8 |
9 | /**
10 | * Created by Kosh on 31 Dec 2016, 3:12 PM
11 | */
12 | class SimpleViewHolder(
13 | itemView: View,
14 | adapter: BaseRecyclerAdapter, OnItemClickListener>?
15 | ) :
16 | BaseViewHolder(itemView, adapter) {
17 | val title: FontTextView = itemView.findViewById(R.id.title)
18 | override fun bind(t: O) {
19 | title.text = t.toString()
20 | }
21 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/adapter/viewholder/UnknownTypeViewHolder.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.adapter.viewholder
2 |
3 | import android.view.View
4 | import com.fastaccess.ui.base.adapter.BaseViewHolder
5 |
6 | /**
7 | * Created by kosh on 07/08/2017.
8 | */
9 | class UnknownTypeViewHolder(view: View) : BaseViewHolder(view) {
10 | override fun bind(t: Any) {} //DO NOTHING
11 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/base/mvp/presenter/EmptyPresenter.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.base.mvp.presenter
2 |
3 | import com.fastaccess.ui.base.mvp.BaseMvp
4 |
5 | class EmptyPresenter: BasePresenter()
6 |
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/about/CommonLibsActivity.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.about
2 |
3 | import android.os.Bundle
4 | import com.fastaccess.provider.theme.ThemeEngine
5 |
6 | class CommonLibsActivity : com.mikepenz.aboutlibraries.ui.LibsActivity() {
7 | override fun onCreate(savedInstanceState: Bundle?) {
8 | ThemeEngine.apply(this)
9 | super.onCreate(savedInstanceState)
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/changelog/ChangelogMvp.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.changelog
2 |
3 | import com.fastaccess.ui.base.mvp.BaseMvp.FAView
4 |
5 | /**
6 | * Created by Kosh on 28 May 2017, 10:53 AM
7 | */
8 | interface ChangelogMvp {
9 | interface View : FAView {
10 | fun onChangelogLoaded(html: String?)
11 | }
12 |
13 | interface Presenter {
14 | fun onLoadChangelog()
15 | }
16 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/editor/emoji/EmojiMvp.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.editor.emoji
2 |
3 | import com.fastaccess.provider.emoji.Emoji
4 | import com.fastaccess.ui.base.adapter.BaseViewHolder
5 | import com.fastaccess.ui.base.mvp.BaseMvp
6 |
7 | /**
8 | * Created by kosh on 17/08/2017.
9 | */
10 | interface EmojiMvp {
11 |
12 | interface View : BaseMvp.FAView, BaseViewHolder.OnItemClickListener {
13 | fun clearAdapter()
14 | fun onAddEmoji(emoji: Emoji)
15 | }
16 |
17 | interface Presenter {
18 | fun onLoadEmoji()
19 | }
20 |
21 | interface EmojiCallback {
22 | fun onEmojiAdded(emoji: Emoji?)
23 | }
24 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/editor/popup/EditorLinkImageMvp.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.editor.popup
2 |
3 | import com.fastaccess.ui.base.mvp.BaseMvp.FAView
4 | import java.io.File
5 |
6 | /**
7 | * Created by Kosh on 15 Apr 2017, 9:06 PM
8 | */
9 | interface EditorLinkImageMvp {
10 | interface EditorLinkCallback {
11 | fun onAppendLink(title: String?, link: String?, isLink: Boolean)
12 | }
13 |
14 | interface View : FAView {
15 | fun onUploaded(title: String?, link: String?)
16 | }
17 |
18 | interface Presenter {
19 | fun onSubmit(title: String?, file: File)
20 | }
21 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/filter/chooser/FilterAddChooserListener.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.filter.chooser
2 |
3 | /**
4 | * Created by Kosh on 10 Apr 2017, 12:19 PM
5 | */
6 | interface FilterAddChooserListener {
7 | fun onAddSelected()
8 | fun onSearchSelected()
9 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/filter/issues/FilterIssuesActivityMvp.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.filter.issues
2 |
3 | import com.fastaccess.ui.base.mvp.BaseMvp.FAView
4 |
5 | /**
6 | * Created by Kosh on 09 Apr 2017, 6:19 PM
7 | */
8 | interface FilterIssuesActivityMvp {
9 | interface View : FAView {
10 | fun onSetCount(count: Int, isOpen: Boolean)
11 | }
12 |
13 | interface Presenter {
14 | fun onStart(login: String, repoId: String)
15 | }
16 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/gists/create/dialog/AddGistMvp.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.gists.create.dialog
2 |
3 | import com.fastaccess.data.dao.FilesListModel
4 | import com.fastaccess.ui.base.mvp.BaseMvp
5 | import com.fastaccess.ui.modules.editor.emoji.EmojiMvp
6 | import com.fastaccess.ui.modules.editor.popup.EditorLinkImageMvp
7 | import com.fastaccess.ui.widgets.markdown.MarkDownLayout
8 |
9 | /**
10 | * Created by kosh on 14/08/2017.
11 | */
12 | interface AddGistMvp {
13 |
14 | interface View : BaseMvp.FAView, EditorLinkImageMvp.EditorLinkCallback, MarkDownLayout.MarkdownListener, EmojiMvp.EmojiCallback
15 | interface Presenter
16 | interface AddGistFileListener {
17 | fun onFileAdded(file: FilesListModel, position: Int? = -1)
18 | }
19 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/gists/create/dialog/AddGistPresenter.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.gists.create.dialog
2 |
3 | import com.fastaccess.ui.base.mvp.presenter.BasePresenter
4 |
5 | /**
6 | * Created by kosh on 14/08/2017.
7 | */
8 | class AddGistPresenter : BasePresenter(), AddGistMvp.Presenter
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/login/chooser/LoginChooserMvp.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.login.chooser
2 |
3 | import com.fastaccess.data.entity.Login
4 | import com.fastaccess.ui.base.adapter.BaseViewHolder
5 | import com.fastaccess.ui.base.mvp.BaseMvp
6 | import com.fastaccess.ui.modules.settings.LanguageBottomSheetDialog
7 |
8 | interface LoginChooserMvp {
9 |
10 | interface View : BaseMvp.FAView, LanguageBottomSheetDialog.LanguageDialogListener,
11 | BaseViewHolder.OnItemClickListener {
12 | fun onAccountsLoaded(accounts: List?)
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/login/chooser/LoginChooserPresenter.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.login.chooser
2 |
3 | import com.fastaccess.data.entity.dao.LoginDao
4 | import com.fastaccess.ui.base.mvp.presenter.BasePresenter
5 |
6 | class LoginChooserPresenter : BasePresenter() {
7 | init {
8 | manageObservable(
9 | LoginDao.getAccounts().toList()
10 | .toObservable()
11 | .doOnNext {
12 | sendToView { view ->
13 | view.onAccountsLoaded(it)
14 | }
15 | })
16 | }
17 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/main/issues/pager/MyIssuesPagerMvp.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.main.issues.pager
2 |
3 | import com.fastaccess.ui.base.mvp.BaseMvp.FAView
4 | import com.fastaccess.ui.modules.repos.RepoPagerMvp.TabsBadgeListener
5 |
6 | /**
7 | * Created by Kosh on 26 Mar 2017, 12:15 AM
8 | */
9 | interface MyIssuesPagerMvp {
10 | interface View : FAView, TabsBadgeListener
11 | interface Presenter
12 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/main/issues/pager/MyIssuesPagerPresenter.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.main.issues.pager
2 |
3 | import com.fastaccess.ui.base.mvp.presenter.BasePresenter
4 |
5 | /**
6 | * Created by Kosh on 26 Mar 2017, 12:17 AM
7 | */
8 | class MyIssuesPagerPresenter : BasePresenter(), MyIssuesPagerMvp.Presenter
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/main/orgs/OrgListDialogMvp.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.main.orgs
2 |
3 | import com.fastaccess.data.entity.User
4 | import com.fastaccess.ui.base.mvp.BaseMvp.FAView
5 |
6 | /**
7 | * Created by Kosh on 15 Apr 2017, 1:53 PM
8 | */
9 | interface OrgListDialogMvp {
10 | interface View : FAView {
11 | fun onNotifyAdapter(items: List?)
12 | }
13 |
14 | interface Presenter {
15 | fun onLoadOrgs()
16 | val orgs: ArrayList
17 | }
18 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/main/premium/PremiumMvp.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.main.premium
2 |
3 | import com.fastaccess.ui.base.mvp.BaseMvp
4 |
5 | /**
6 | * Created by kosh on 15/07/2017.
7 | */
8 | interface PremiumMvp {
9 |
10 | interface View : BaseMvp.FAView {
11 | fun onSuccessfullyActivated()
12 | fun onNoMatch()
13 | }
14 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/main/pullrequests/pager/MyPullsPagerMvp.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.main.pullrequests.pager
2 |
3 | import com.fastaccess.ui.base.mvp.BaseMvp.FAView
4 | import com.fastaccess.ui.modules.repos.RepoPagerMvp.TabsBadgeListener
5 |
6 | /**
7 | * Created by Kosh on 26 Mar 2017, 12:15 AM
8 | */
9 | interface MyPullsPagerMvp {
10 | interface View : FAView, TabsBadgeListener
11 | interface Presenter
12 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/main/pullrequests/pager/MyPullsPagerPresenter.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.main.pullrequests.pager
2 |
3 | import com.fastaccess.ui.base.mvp.presenter.BasePresenter
4 |
5 | /**
6 | * Created by Kosh on 26 Mar 2017, 12:17 AM
7 | */
8 | class MyPullsPagerPresenter : BasePresenter(), MyPullsPagerMvp.Presenter
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/notification/callback/OnNotificationChangedListener.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.notification.callback
2 |
3 | import com.fastaccess.data.dao.GroupedNotificationModel
4 |
5 | interface OnNotificationChangedListener {
6 | fun onNotificationChanged(notification: GroupedNotificationModel, index: Int)
7 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/notification/fasthub/FastHubNotificationsMvp.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.notification.fasthub
2 |
3 | import com.fastaccess.data.entity.FastHubNotification
4 | import com.fastaccess.ui.base.adapter.BaseViewHolder
5 | import com.fastaccess.ui.base.mvp.BaseMvp
6 |
7 | /**
8 | * Created by Kosh on 19.11.17.
9 | */
10 | interface FastHubNotificationsMvp {
11 |
12 | interface View : BaseMvp.FAView, BaseViewHolder.OnItemClickListener {
13 | fun notifyAdapter(items: List?)
14 | }
15 |
16 | interface Presenter {
17 | fun getData(): List
18 | fun load()
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/pinned/gist/PinnedGistMvp.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.pinned.gist
2 |
3 | import com.fastaccess.data.entity.Gist
4 | import com.fastaccess.ui.base.adapter.BaseViewHolder
5 | import com.fastaccess.ui.base.mvp.BaseMvp.FAView
6 |
7 | /**
8 | * Created by Kosh on 25 Mar 2017, 7:57 PM
9 | */
10 | interface PinnedGistMvp {
11 | interface View : FAView {
12 | fun onNotifyAdapter(items: List?)
13 | fun onDeletePinnedGist(id: Long, position: Int)
14 | }
15 |
16 | interface Presenter : BaseViewHolder.OnItemClickListener {
17 | val pinnedGists: ArrayList
18 | fun onReload()
19 | }
20 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/pinned/issue/PinnedIssueMvp.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.pinned.issue
2 |
3 | import com.fastaccess.data.entity.Issue
4 | import com.fastaccess.ui.base.adapter.BaseViewHolder
5 | import com.fastaccess.ui.base.mvp.BaseMvp.FAView
6 |
7 | /**
8 | * Created by Kosh on 25 Mar 2017, 7:57 PM
9 | */
10 | interface PinnedIssueMvp {
11 | interface View : FAView {
12 | fun onNotifyAdapter(items: List?)
13 | fun onDeletePinnedIssue(id: Long, position: Int)
14 | }
15 |
16 | interface Presenter : BaseViewHolder.OnItemClickListener {
17 | val pinnedIssue: ArrayList
18 | fun onReload()
19 | }
20 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/pinned/pullrequest/PinnedPullRequestMvp.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.pinned.pullrequest
2 |
3 | import com.fastaccess.data.entity.PullRequest
4 | import com.fastaccess.ui.base.adapter.BaseViewHolder
5 | import com.fastaccess.ui.base.mvp.BaseMvp.FAView
6 |
7 | /**
8 | * Created by Kosh on 25 Mar 2017, 7:57 PM
9 | */
10 | interface PinnedPullRequestMvp {
11 | interface View : FAView {
12 | fun onNotifyAdapter(items: List?)
13 | fun onDeletePinnedPullRequest(id: Long, position: Int)
14 | }
15 |
16 | interface Presenter : BaseViewHolder.OnItemClickListener {
17 | val pinnedPullRequest: ArrayList
18 | fun onReload()
19 | }
20 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/pinned/repo/PinnedReposMvp.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.pinned.repo
2 |
3 | import com.fastaccess.data.entity.PinnedRepos
4 | import com.fastaccess.ui.base.adapter.BaseViewHolder
5 | import com.fastaccess.ui.base.mvp.BaseMvp.FAView
6 |
7 | /**
8 | * Created by Kosh on 25 Mar 2017, 7:57 PM
9 | */
10 | interface PinnedReposMvp {
11 | interface View : FAView {
12 | fun onNotifyAdapter(items: List?)
13 | fun onDeletePinnedRepo(id: Long, position: Int)
14 | }
15 |
16 | interface Presenter : BaseViewHolder.OnItemClickListener {
17 | val pinnedRepos: ArrayList
18 | fun onReload()
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/profile/ProfilePagerMvp.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.profile
2 |
3 | import com.fastaccess.ui.base.mvp.BaseMvp.FAPresenter
4 | import com.fastaccess.ui.base.mvp.BaseMvp.FAView
5 |
6 | /**
7 | * Created by Kosh on 03 Dec 2016, 7:59 AM
8 | */
9 | interface ProfilePagerMvp {
10 | interface View : FAView {
11 | fun onNavigateToFollowers()
12 | fun onNavigateToFollowing()
13 | fun onCheckType(isOrg: Boolean)
14 | }
15 |
16 | interface Presenter : FAPresenter
17 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/profile/ProfilePagerPresenter.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.profile
2 |
3 | import com.fastaccess.ui.base.mvp.presenter.BasePresenter
4 |
5 | /**
6 | * Created by Kosh on 03 Dec 2016, 8:00 AM
7 | */
8 | class ProfilePagerPresenter : BasePresenter(),
9 | ProfilePagerMvp.Presenter
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/profile/org/OrgProfileOverviewMvp.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.profile.org
2 |
3 | import android.os.Bundle
4 | import com.fastaccess.data.entity.User
5 | import com.fastaccess.ui.base.mvp.BaseMvp.FAPresenter
6 | import com.fastaccess.ui.base.mvp.BaseMvp.FAView
7 |
8 | /**
9 | * Created by Kosh on 03 Dec 2016, 7:59 AM
10 | */
11 | interface OrgProfileOverviewMvp {
12 | interface View : FAView {
13 | fun onInitViews(userModel: User?)
14 | }
15 |
16 | interface Presenter : FAPresenter {
17 | fun onFragmentCreated(bundle: Bundle?)
18 | fun onWorkOffline(login: String)
19 | var login: String?
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/repos/DummyFragment.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.repos
2 |
3 | import android.os.Bundle
4 | import android.view.LayoutInflater
5 | import android.view.View
6 | import android.view.ViewGroup
7 | import androidx.fragment.app.Fragment
8 | import com.fastaccess.R
9 |
10 | /**
11 | * Created by Kosh on 11 Mar 2017, 12:10 AM
12 | */
13 | class DummyFragment : Fragment() {
14 | override fun onCreateView(
15 | inflater: LayoutInflater,
16 | container: ViewGroup?,
17 | savedInstanceState: Bundle?
18 | ): View? {
19 | return inflater.inflate(R.layout.single_container_layout, container, false)
20 | }
21 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/repos/code/RepoCodePagerMvp.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.repos.code
2 |
3 | import com.fastaccess.ui.base.mvp.BaseMvp.FAPresenter
4 | import com.fastaccess.ui.base.mvp.BaseMvp.FAView
5 | import com.fastaccess.ui.modules.repos.RepoPagerMvp.TabsBadgeListener
6 |
7 | /**
8 | * Created by Kosh on 31 Dec 2016, 1:35 AM
9 | */
10 | interface RepoCodePagerMvp {
11 | interface View : FAView, TabsBadgeListener {
12 | fun canPressBack(): Boolean
13 | fun onBackPressed()
14 | }
15 |
16 | interface Presenter : FAPresenter
17 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/repos/code/RepoCodePagerPresenter.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.repos.code
2 |
3 | import com.fastaccess.ui.base.mvp.presenter.BasePresenter
4 |
5 | /**
6 | * Created by Kosh on 31 Dec 2016, 1:36 AM
7 | */
8 | class RepoCodePagerPresenter : BasePresenter(),
9 | RepoCodePagerMvp.Presenter
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/repos/extras/branches/pager/BranchesPagerListener.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.repos.extras.branches.pager
2 |
3 | import com.fastaccess.data.dao.BranchesModel
4 |
5 | /**
6 | * Created by kosh on 15/07/2017.
7 | */
8 | interface BranchesPagerListener {
9 | fun onItemSelect(branch: BranchesModel)
10 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/repos/extras/labels/create/CreateLabelMvp.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.repos.extras.labels.create
2 |
3 | import com.fastaccess.data.dao.LabelModel
4 | import com.fastaccess.ui.base.adapter.BaseViewHolder
5 | import com.fastaccess.ui.base.mvp.BaseMvp.FAView
6 |
7 | /**
8 | * Created by Kosh on 02 Apr 2017, 5:30 PM
9 | */
10 | interface CreateLabelMvp {
11 | interface View : FAView {
12 | fun onSuccessfullyCreated(labelModel1: LabelModel)
13 | fun onColorSelected(color: String)
14 | }
15 |
16 | interface Presenter : BaseViewHolder.OnItemClickListener {
17 | fun onSubmitLabel(
18 | name: String, color: String,
19 | repo: String, login: String
20 | )
21 | }
22 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/repos/extras/license/RepoLicenseMvp.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.repos.extras.license
2 |
3 | import com.fastaccess.ui.base.mvp.BaseMvp
4 |
5 | /**
6 | * Created by Kosh on 30 Jun 2017, 12:32 PM
7 | */
8 |
9 | interface RepoLicenseMvp {
10 | interface View : BaseMvp.FAView {
11 | fun onLicenseLoaded(license: String)
12 | }
13 |
14 | interface Presenter {
15 | fun onLoadLicense(login: String, repo: String)
16 | }
17 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/repos/extras/license/RepoLicensePresenter.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.repos.extras.license
2 |
3 | import com.fastaccess.provider.rest.RestProvider
4 | import com.fastaccess.ui.base.mvp.presenter.BasePresenter
5 |
6 | /**
7 | * Created by Kosh on 30 Jun 2017, 12:34 PM
8 | */
9 | class RepoLicensePresenter : BasePresenter(), RepoLicenseMvp.Presenter {
10 |
11 | override fun onLoadLicense(login: String, repo: String) {
12 | makeRestCall(RestProvider.getRepoService(isEnterprise).getLicense(login, repo),
13 | { license -> sendToView { it.onLicenseLoaded(license) } })
14 | }
15 |
16 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/repos/extras/locking/LockIssuePrCallback.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.repos.extras.locking
2 |
3 | /**
4 | * Created by Kosh on 10.02.18.
5 | */
6 |
7 | interface LockIssuePrCallback {
8 | fun onLock(reason: String)
9 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/repos/extras/popup/IssuePopupMvp.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.repos.extras.popup
2 |
3 | import com.fastaccess.ui.base.mvp.BaseMvp.FAView
4 |
5 | /**
6 | * Created by Kosh on 27 May 2017, 1:55 PM
7 | */
8 | interface IssuePopupMvp {
9 | interface View : FAView {
10 | fun onSuccessfullySubmitted()
11 | }
12 |
13 | interface Presenter {
14 | fun onSubmit(login: String, repoId: String, issueNumber: Int, text: String)
15 | }
16 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/repos/git/delete/DeleteContentFileCallback.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.repos.git.delete
2 |
3 | /**
4 | * Created by Hashemsergani on 02/09/2017.
5 | */
6 | interface DeleteContentFileCallback {
7 |
8 | fun onDelete(message: String, position: Int)
9 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/repos/issues/RepoIssuesPagerMvp.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.repos.issues
2 |
3 | import com.fastaccess.ui.base.mvp.BaseMvp.FAPresenter
4 | import com.fastaccess.ui.base.mvp.BaseMvp.FAView
5 | import com.fastaccess.ui.modules.repos.RepoPagerMvp.TabsBadgeListener
6 |
7 | /**
8 | * Created by Kosh on 31 Dec 2016, 1:35 AM
9 | */
10 | interface RepoIssuesPagerMvp {
11 | interface View : FAView, TabsBadgeListener {
12 | fun onAddIssue()
13 | fun setCurrentItem(index: Int, refresh: Boolean)
14 | fun onChangeIssueSort(isLastUpdated: Boolean)
15 | val currentItem: Int
16 | fun onScrolled(isUp: Boolean)
17 | }
18 |
19 | interface Presenter : FAPresenter
20 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/repos/issues/RepoIssuesPagerPresenter.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.repos.issues
2 |
3 | import com.fastaccess.ui.base.mvp.presenter.BasePresenter
4 |
5 | /**
6 | * Created by Kosh on 31 Dec 2016, 1:36 AM
7 | */
8 | class RepoIssuesPagerPresenter : BasePresenter(),
9 | RepoIssuesPagerMvp.Presenter
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/repos/pull_requests/RepoPullRequestPagerMvp.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.repos.pull_requests
2 |
3 | import com.fastaccess.ui.base.mvp.BaseMvp.FAPresenter
4 | import com.fastaccess.ui.base.mvp.BaseMvp.FAView
5 | import com.fastaccess.ui.modules.repos.RepoPagerMvp.TabsBadgeListener
6 |
7 | /**
8 | * Created by Kosh on 31 Dec 2016, 1:35 AM
9 | */
10 | interface RepoPullRequestPagerMvp {
11 | interface View : FAView, TabsBadgeListener {
12 | // @get:IntRange(from = 1)
13 | val currentItem: Int
14 | fun onScrolled(isUp: Boolean)
15 | }
16 |
17 | interface Presenter : FAPresenter
18 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/repos/pull_requests/RepoPullRequestPagerPresenter.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.repos.pull_requests
2 |
3 | import com.fastaccess.ui.base.mvp.presenter.BasePresenter
4 |
5 | /**
6 | * Created by Kosh on 31 Dec 2016, 1:36 AM
7 | */
8 | class RepoPullRequestPagerPresenter : BasePresenter(),
9 | RepoPullRequestPagerMvp.Presenter
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/repos/pull_requests/pull_request/merge/MergePullRequestMvp.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.repos.pull_requests.pull_request.merge
2 |
3 | import com.fastaccess.ui.base.mvp.BaseMvp.FAView
4 |
5 | /**
6 | * Created by Kosh on 18 Mar 2017, 12:11 PM
7 | */
8 | interface MergePullRequestMvp {
9 | interface MergeCallback {
10 | fun onMerge(msg: String, mergeMethod: String)
11 | }
12 |
13 | interface View : FAView
14 | interface Presenter
15 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/repos/pull_requests/pull_request/merge/MergePullRequestPresenter.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.repos.pull_requests.pull_request.merge
2 |
3 | import com.fastaccess.ui.base.mvp.presenter.BasePresenter
4 |
5 | /**
6 | * Created by Kosh on 18 Mar 2017, 12:13 PM
7 | */
8 | class MergePullRequestPresenter : BasePresenter(),
9 | MergePullRequestMvp.Presenter
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/repos/wiki/WikiMvp.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.repos.wiki
2 |
3 | import android.content.Intent
4 | import com.fastaccess.data.dao.wiki.WikiContentModel
5 | import com.fastaccess.data.dao.wiki.WikiSideBarModel
6 | import com.fastaccess.ui.base.mvp.BaseMvp
7 |
8 | /**
9 | * Created by Kosh on 13 Jun 2017, 8:11 PM
10 | */
11 | interface WikiMvp {
12 | interface View : BaseMvp.FAView {
13 | fun onLoadContent(wiki: WikiContentModel)
14 | fun onSetPage(page: String)
15 | fun showPrivateRepoError()
16 | }
17 |
18 | interface Presenter {
19 | fun onActivityCreated(intent: Intent?)
20 | fun onSidebarClicked(sidebar: WikiSideBarModel)
21 | }
22 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/reviews/callback/ReviewCommentListener.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.reviews.callback
2 |
3 | import android.os.Bundle
4 | import com.fastaccess.data.dao.CommitLinesModel
5 |
6 | /**
7 | * Created by Kosh on 24 Jun 2017, 12:38 PM
8 | */
9 | interface ReviewCommentListener {
10 | fun onCommentAdded(comment: String, item: CommitLinesModel, bundle: Bundle?)
11 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/search/repos/files/SearchFileMvp.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.search.repos.files
2 |
3 | import android.os.Bundle
4 | import com.fastaccess.ui.base.mvp.BaseMvp.FAPresenter
5 | import com.fastaccess.ui.base.mvp.BaseMvp.FAView
6 | import com.fastaccess.ui.widgets.FontEditText
7 |
8 | interface SearchFileMvp {
9 | interface View : FAView {
10 | fun onValidSearchQuery(query: String)
11 | }
12 |
13 | interface Presenter : FAPresenter {
14 | fun onSearchClicked(editText: FontEditText, inPath: Boolean)
15 | fun onActivityCreated(extras: Bundle?)
16 | }
17 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/settings/category/SettingsCategoryPresenter.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.settings.category
2 |
3 | import com.fastaccess.ui.base.mvp.BaseMvp.FAPresenter
4 | import com.fastaccess.ui.base.mvp.BaseMvp.FAView
5 | import com.fastaccess.ui.base.mvp.presenter.BasePresenter
6 |
7 | /**
8 | * Created by JediB on 5/12/2017.
9 | */
10 | class SettingsCategoryPresenter : BasePresenter(), FAPresenter
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/settings/sound/NotificationSoundMvp.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.settings.sound
2 |
3 | import android.net.Uri
4 | import com.fastaccess.data.dao.NotificationSoundModel
5 | import com.fastaccess.ui.base.mvp.BaseMvp
6 |
7 | /**
8 | * Created by kosh on 23/07/2017.
9 | */
10 |
11 | interface NotificationSoundMvp {
12 | interface View : BaseMvp.FAView {
13 | fun onAddSound(sound: NotificationSoundModel)
14 | fun onCompleted()
15 | }
16 |
17 | interface Presenter {
18 | fun loadSounds(default: String? = null)
19 | }
20 |
21 | interface NotificationSoundListener {
22 | fun onSoundSelected(uri: Uri? = null)
23 | }
24 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/theme/code/ThemeCodeMvp.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.theme.code
2 |
3 | import com.fastaccess.ui.base.mvp.BaseMvp
4 | import com.prettifier.pretty.PrettifyWebView
5 |
6 | /**
7 | * Created by Kosh on 22 Jun 2017, 11:50 PM
8 | */
9 | interface ThemeCodeMvp {
10 |
11 | interface View : BaseMvp.FAView, PrettifyWebView.OnContentChangedListener {
12 | fun onInitAdapter(list: List)
13 | }
14 |
15 | interface Presenter {
16 | fun onLoadThemes()
17 | }
18 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/theme/code/ThemeCodePresenter.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.theme.code
2 |
3 | import com.fastaccess.helper.RxHelper
4 | import com.fastaccess.ui.base.mvp.presenter.BasePresenter
5 | import com.prettifier.pretty.helper.CodeThemesHelper
6 | import io.reactivex.Observable
7 |
8 | /**
9 | * Created by Kosh on 22 Jun 2017, 11:52 PM
10 | */
11 |
12 | class ThemeCodePresenter : BasePresenter(), ThemeCodeMvp.Presenter {
13 |
14 | override fun onLoadThemes() {
15 | manageDisposable(RxHelper.getObservable(Observable.just(CodeThemesHelper.listThemes()))
16 | .subscribe({ list -> sendToView { it.onInitAdapter(list) } }, { onError(it) }))
17 | }
18 |
19 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/theme/fragment/ThemeFragmentMvp.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.theme.fragment
2 |
3 | import androidx.annotation.ColorInt
4 |
5 | import com.fastaccess.ui.base.mvp.BaseMvp
6 |
7 | /**
8 | * Created by Kosh on 08 Jun 2017, 10:52 PM
9 | */
10 |
11 | interface ThemeFragmentMvp {
12 |
13 | interface ThemeListener {
14 | fun onChangePrimaryDarkColor(@ColorInt color: Int, darkIcons: Boolean)
15 |
16 | fun onThemeApplied()
17 | }
18 |
19 | interface View : BaseMvp.FAView
20 |
21 | interface Presenter
22 | }
23 |
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/theme/fragment/ThemeFragmentPresenter.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.theme.fragment
2 |
3 | import com.fastaccess.ui.base.mvp.presenter.BasePresenter
4 |
5 | /**
6 | * Created by Kosh on 08 Jun 2017, 10:52 PM
7 | */
8 |
9 | class ThemeFragmentPresenter : BasePresenter(), ThemeFragmentMvp.Presenter
10 |
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/modules/trending/TrendingMvp.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.modules.trending
2 |
3 | import androidx.annotation.ColorInt
4 | import com.fastaccess.ui.base.mvp.BaseMvp
5 |
6 | /**
7 | * Created by Kosh on 30 May 2017, 10:51 PM
8 | */
9 |
10 | interface TrendingMvp {
11 | interface View : BaseMvp.FAView {
12 | fun onAppend(title: String, @ColorInt color: Int)
13 | fun onClearMenu()
14 | }
15 |
16 | interface Presenter {
17 | fun onLoadLanguage()
18 |
19 | fun onFilterLanguage(key: String)
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/widgets/AppbarRefreshLayout.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.widgets
2 |
3 | import android.content.Context
4 | import android.util.AttributeSet
5 | import androidx.swiperefreshlayout.widget.SwipeRefreshLayout
6 | import com.fastaccess.R
7 |
8 | /**
9 | * Created by kosh on 7/30/2015. CopyRights @
10 | */
11 | class AppbarRefreshLayout : SwipeRefreshLayout {
12 | constructor(context: Context) : super(context, null)
13 | constructor(context: Context, attrs: AttributeSet?) : super(context, attrs) {
14 | setColorSchemeResources(
15 | R.color.material_amber_700,
16 | R.color.material_blue_700,
17 | R.color.material_purple_700,
18 | R.color.material_lime_700
19 | )
20 | }
21 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/widgets/CardsPagerTransformerBasic.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.widgets
2 |
3 | import android.view.View
4 | import androidx.viewpager.widget.ViewPager
5 | import kotlin.math.abs
6 |
7 | class CardsPagerTransformerBasic(private val baseElevation: Int, private val raisingElevation: Int) : ViewPager.PageTransformer {
8 | override fun transformPage(page: View, position: Float) {
9 | val absPosition = abs(position)
10 | if (absPosition >= 1) {
11 | page.elevation = baseElevation.toFloat()
12 | } else {
13 | page.elevation = (1 - absPosition) * raisingElevation + baseElevation
14 | }
15 | }
16 |
17 |
18 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/ui/widgets/recyclerview/ProgressBarViewHolder.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.ui.widgets.recyclerview
2 |
3 | import android.view.View
4 | import android.view.ViewGroup
5 | import com.fastaccess.R
6 | import com.fastaccess.ui.base.adapter.BaseViewHolder
7 |
8 | /**
9 | * Created by kosh on 03/08/2017.
10 | */
11 | class ProgressBarViewHolder private constructor(itemView: View) : BaseViewHolder(itemView) {
12 | override fun bind(t: Any) {}
13 |
14 | companion object {
15 | fun newInstance(viewGroup: ViewGroup?): ProgressBarViewHolder {
16 | return ProgressBarViewHolder(getView(viewGroup!!, R.layout.progress_layout))
17 | }
18 | }
19 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/fastaccess/utils/ParcelUtil.kt:
--------------------------------------------------------------------------------
1 | package com.fastaccess.utils
2 |
3 | import android.os.Parcel
4 | import android.os.Parcelable
5 |
6 | class ParcelUtil {
7 | companion object {
8 | inline fun createParcel(crossinline createFromParcel: (Parcel) -> T?): Parcelable.Creator =
9 | object : Parcelable.Creator {
10 | override fun createFromParcel(source: Parcel): T? = createFromParcel(source)
11 | override fun newArray(size: Int): Array = arrayOfNulls(size)
12 | }
13 | }
14 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/zzhoujay/markdown/style/LinkSpan.kt:
--------------------------------------------------------------------------------
1 | package com.zzhoujay.markdown.style
2 |
3 | import android.text.TextPaint
4 | import android.text.style.URLSpan
5 |
6 | /**
7 | * Created by zhou on 16-7-2.
8 | * 链接Span
9 | */
10 | class LinkSpan(url: String?, private val color: Int) : URLSpan(url) {
11 | override fun updateDrawState(ds: TextPaint) {
12 | super.updateDrawState(ds)
13 | ds.color = color
14 | ds.isUnderlineText = false
15 | }
16 | }
--------------------------------------------------------------------------------
/app/src/main/res/animator/minus_to_plus.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/animator/plus_minus_rotate.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/animator/plus_to_minus.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/color/search_tab_highlighter.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-nodpi/web_hi_res_512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LightDestory/FastHub-RE/bde32940a89bca7075af045951e9ecad911c1841/app/src/main/res/drawable-nodpi/web_hi_res_512.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-small/splash_screen_drawable.xml:
--------------------------------------------------------------------------------
1 |
2 | -
3 |
4 |
5 |
6 |
7 |
8 |
9 | -
12 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-v26/ic_app_shortcut_github.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-v26/ic_app_shortcut_issues.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-v26/ic_app_shortcut_pinned.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-v26/ic_app_shortcut_profile.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-v26/ic_app_shortcut_pull_requests.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_edittext.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LightDestory/FastHub-RE/bde32940a89bca7075af045951e9ecad911c1841/app/src/main/res/drawable-xxxhdpi/ic_edittext.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_timeline_arrow_left.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LightDestory/FastHub-RE/bde32940a89bca7075af045951e9ecad911c1841/app/src/main/res/drawable-xxxhdpi/ic_timeline_arrow_left.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/arrow_toggle_drawable.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/avd_follow.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
9 |
10 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/avd_unfollow.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
9 |
10 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/bottom_border.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | -
7 |
8 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/circle_shape.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/fastscroller_bubble.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 | -
5 |
6 |
7 |
9 |
10 |
11 |
12 | -
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_add.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_announcement.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_app_shortcut_issues.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_app_shortcut_issues_foreground.xml:
--------------------------------------------------------------------------------
1 |
6 |
8 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_app_shortcut_pinned.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_app_shortcut_pinned_foreground.xml:
--------------------------------------------------------------------------------
1 |
6 |
8 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_app_shortcut_profile.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_arrow_drop_down.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_arrow_drop_up.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_arrow_right.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_back.xml:
--------------------------------------------------------------------------------
1 |
7 |
10 |
11 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_backup.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_blank.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_block.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_bookmark.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_brower.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_brush.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_check.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_check_small.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_checkbox.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_checkbox_empty.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_checkbox_empty_small.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_checkbox_small.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_circle_small.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_clear.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_clear_all.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_clear_black.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_code.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_comment.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_comment_small.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_copy.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_crop_square.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_done.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_download.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_edit.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_email.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_eye.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_feedback.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_file_document.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_file_multi.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_filter.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_folder.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_follow.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
13 |
14 |
18 |
19 |
20 |
21 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_format_bold.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_format_italic.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_format_list_bulleted.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_format_quote.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_format_strikethrough.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_format_underlined.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_fullscreen.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_gists.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_group.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_header_one.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_header_three.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_header_two.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_heart.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_heart_full.xml:
--------------------------------------------------------------------------------
1 |
7 |
10 |
11 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_home.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_image.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_info.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_info_outline.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_inline_code.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_insert_link.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_issue_closed.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_issue_closed_small.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_issue_opened.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_issue_opened_small.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_issues.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_issues_shortcut.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_issues_small.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_label.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_license.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_lightblub.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_list_numbers.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_location.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_lock.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_logout.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_menu.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_milestone.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_minus.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_money.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_newline.xml:
--------------------------------------------------------------------------------
1 |
7 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_notification.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_notifications_none.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_overflow.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_person.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_pin.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_pin_filled.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_pin_shortcut.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_profile.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_profile_shortcut.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_project.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_push.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_redo.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_repo.xml:
--------------------------------------------------------------------------------
1 |
7 |
8 |
11 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_restore.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_restricted.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_ring.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_ring_sound.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_search.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_send.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_share.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_star.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_star_filled.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_star_small.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_storage_small.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_submodule.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_subscribe.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_support.xml:
--------------------------------------------------------------------------------
1 |
7 |
10 |
11 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_sync.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_time.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_time_small.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_title.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_trash.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_trending.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_undo.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_unfollow.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
13 |
14 |
18 |
19 |
20 |
21 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_unlock.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_unsubscribe.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_update.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_wrap_text.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/left_border.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | -
7 |
8 |
11 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/rect_shape.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/right_border.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | -
7 |
8 |
11 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/scrim.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
11 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/splash_screen_drawable.xml:
--------------------------------------------------------------------------------
1 |
2 | -
3 |
4 |
5 |
6 |
7 | -
8 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/toolbar_shadow_up.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
8 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/top_border.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | -
7 |
8 |
10 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/app/src/main/res/layouts/main_layouts/layout-land/bottom_fab.xml:
--------------------------------------------------------------------------------
1 |
2 |
14 |
15 |
--------------------------------------------------------------------------------
/app/src/main/res/layouts/main_layouts/layout-land/fragment_container.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/layouts/main_layouts/layout-land/issues_bottom_navigation.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/layouts/main_layouts/layout-land/main_bottom_navigation.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/layouts/main_layouts/layout-sw600dp/bottom_fab.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/layouts/main_layouts/layout-sw600dp/fragment_container.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/layouts/main_layouts/layout-sw600dp/issues_bottom_navigation.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/layouts/main_layouts/layout-sw600dp/main_bottom_navigation.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/layouts/main_layouts/layout/activity_settings_category.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
10 |
11 |
15 |
16 |
--------------------------------------------------------------------------------
/app/src/main/res/layouts/main_layouts/layout/add_banner_layout.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/layouts/main_layouts/layout/branches_tabbed_viewpager.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
10 |
11 |
16 |
17 |
--------------------------------------------------------------------------------
/app/src/main/res/layouts/main_layouts/layout/dialog_picker.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/layouts/main_layouts/layout/fragment_container.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/layouts/main_layouts/layout/issues_bottom_navigation.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/layouts/main_layouts/layout/main_bottom_navigation.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/layouts/main_layouts/layout/main_nav_fragment_layout.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/layouts/main_layouts/layout/milestone_dialog_layout.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/app/src/main/res/layouts/main_layouts/layout/notifications_bottom_sheet_layout.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
15 |
16 |
--------------------------------------------------------------------------------
/app/src/main/res/layouts/main_layouts/layout/settings_layout.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
10 |
11 |
15 |
16 |
--------------------------------------------------------------------------------
/app/src/main/res/layouts/main_layouts/layout/submit_review_layout.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/layouts/other_layouts/layout/avatar_layout.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
14 |
--------------------------------------------------------------------------------
/app/src/main/res/layouts/other_layouts/layout/home_button.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/layouts/other_layouts/layout/progress_dialog_layout.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
15 |
--------------------------------------------------------------------------------
/app/src/main/res/layouts/other_layouts/layout/single_container_layout.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/layouts/other_layouts/layout/state_layout.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/layouts/row_layouts/layout/preference_widget_color.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
13 |
--------------------------------------------------------------------------------
/app/src/main/res/layouts/row_layouts/layout/progress_layout.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
15 |
16 |
--------------------------------------------------------------------------------
/app/src/main/res/layouts/row_layouts/layout/topics_row_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/layouts/row_layouts/layout/unknown_row_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/add_menu.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/done_menu.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/dynamic_trending_menu.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/filter_fab_menu.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/filter_issue_state_menu.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/gist_menu.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/link_popup_menu.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/notification_menu.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/repo_contributors_menu.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/search_menu.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/trending_menu.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/wrap_menu_option.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-nodpi/foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LightDestory/FastHub-RE/bde32940a89bca7075af045951e9ecad911c1841/app/src/main/res/mipmap-nodpi/foreground.png
--------------------------------------------------------------------------------
/app/src/main/res/translations/drawable/ic_baseline_business.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/translations/drawable/ic_baseline_web.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/translations/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/app/src/main/res/translations/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/app/src/main/res/translations/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LightDestory/FastHub-RE/bde32940a89bca7075af045951e9ecad911c1841/app/src/main/res/translations/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/translations/mipmap-hdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LightDestory/FastHub-RE/bde32940a89bca7075af045951e9ecad911c1841/app/src/main/res/translations/mipmap-hdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/app/src/main/res/translations/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LightDestory/FastHub-RE/bde32940a89bca7075af045951e9ecad911c1841/app/src/main/res/translations/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/app/src/main/res/translations/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LightDestory/FastHub-RE/bde32940a89bca7075af045951e9ecad911c1841/app/src/main/res/translations/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/translations/mipmap-mdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LightDestory/FastHub-RE/bde32940a89bca7075af045951e9ecad911c1841/app/src/main/res/translations/mipmap-mdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/app/src/main/res/translations/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LightDestory/FastHub-RE/bde32940a89bca7075af045951e9ecad911c1841/app/src/main/res/translations/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/app/src/main/res/translations/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LightDestory/FastHub-RE/bde32940a89bca7075af045951e9ecad911c1841/app/src/main/res/translations/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/translations/mipmap-xhdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LightDestory/FastHub-RE/bde32940a89bca7075af045951e9ecad911c1841/app/src/main/res/translations/mipmap-xhdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/app/src/main/res/translations/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LightDestory/FastHub-RE/bde32940a89bca7075af045951e9ecad911c1841/app/src/main/res/translations/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/app/src/main/res/translations/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LightDestory/FastHub-RE/bde32940a89bca7075af045951e9ecad911c1841/app/src/main/res/translations/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/translations/mipmap-xxhdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LightDestory/FastHub-RE/bde32940a89bca7075af045951e9ecad911c1841/app/src/main/res/translations/mipmap-xxhdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/app/src/main/res/translations/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LightDestory/FastHub-RE/bde32940a89bca7075af045951e9ecad911c1841/app/src/main/res/translations/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/app/src/main/res/translations/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LightDestory/FastHub-RE/bde32940a89bca7075af045951e9ecad911c1841/app/src/main/res/translations/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/translations/mipmap-xxxhdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LightDestory/FastHub-RE/bde32940a89bca7075af045951e9ecad911c1841/app/src/main/res/translations/mipmap-xxxhdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/app/src/main/res/translations/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LightDestory/FastHub-RE/bde32940a89bca7075af045951e9ecad911c1841/app/src/main/res/translations/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/app/src/main/res/translations/values/ic_launcher_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #1D3260
4 |
--------------------------------------------------------------------------------
/app/src/main/res/values-land/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 | 46dp
3 |
4 |
5 |
--------------------------------------------------------------------------------
/app/src/main/res/values-sw600dp-land/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 52dp
4 | 24dp
5 | 2
6 | @dimen/spacing_micro
7 | 2
8 |
--------------------------------------------------------------------------------
/app/src/main/res/values-sw600dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 32dp
4 | 24dp
5 | 1
6 |
--------------------------------------------------------------------------------
/app/src/main/res/values-sw720dp-land/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 82dp
4 | 24dp
5 | 2
6 | @dimen/spacing_micro
7 | 2
8 |
--------------------------------------------------------------------------------
/app/src/main/res/values-sw720dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 58dp
4 | 24dp
5 | 1
6 | 2
7 |
--------------------------------------------------------------------------------
/app/src/main/res/values-w820dp-land/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 | 84dp
3 | 24dp
4 | 3
5 | @dimen/spacing_micro
6 | 2
7 |
8 |
--------------------------------------------------------------------------------
/app/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 | 64dp
3 | 24dp
4 | 2
5 | @dimen/spacing_micro
6 |
7 |
--------------------------------------------------------------------------------
/app/src/main/res/values/graphview.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/app/src/main/res/values/paths.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | M15,12C17.21,12 19,10.21 19,8C19,5.79 17.21,4 15,4C12.79,4 11,5.79 11,8C11,10.21 12.79,12
4 | 15,12L15,12ZM15,14C12.33,14 7,15.34 7,18L7,20L23,20L23,18C23,15.34 17.67,14 15,14L15,14Z
5 | M6,7 L4,7 L4,10 L1,10 L1,12 L4,12 L4,15 L6,15 L6,12 L9,12 L9,10 L6,10 L6,7 Z
6 | M6,10 L4,10 L4,10 L1,10 L1,12 L4,12 L4,12 L6,12 L6,12 L9,12 L9,10 L6,10 L6,10 Z
7 |
8 |
--------------------------------------------------------------------------------
/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
7 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/app/src/main/res/values/theme_attrs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/about_settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
9 |
10 |
15 |
16 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/backup_settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
10 |
11 |
15 |
16 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/language_settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
12 |
13 |
--------------------------------------------------------------------------------
/gradle.properties:
--------------------------------------------------------------------------------
1 | android.useAndroidX=true
2 | android.enableJetifier=true
3 | org.gradle.jvmargs=-Xmx4096M -XX:+UseParallelGC
4 |
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LightDestory/FastHub-RE/bde32940a89bca7075af045951e9ecad911c1841/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Mar 23 20:30:35 CET 2022
2 | distributionBase=GRADLE_USER_HOME
3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.1-bin.zip
4 | distributionPath=wrapper/dists
5 | zipStorePath=wrapper/dists
6 | zipStoreBase=GRADLE_USER_HOME
7 | android.enableD8=true
8 |
--------------------------------------------------------------------------------
/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
--------------------------------------------------------------------------------