Yuito-app-android/app/src/main/res
Ivan Kupalov 8770fbe986 ComposeActivity refactor (#1541)
* Convert ComposeActivity to Kotlin

* More ComposeActivity cleanups

* Move ComposeActivity to it's own package

* Remove ComposeActivity.IntentBuilder

* Re-do part of the media downsizing/uploading

* Add sending of status to ViewModel, draft media descriptions

* Allow uploading video, update description after uploading

* Enable camera, enable upload cancelling

* Cleanup of ComposeActivity

* Extract CaptionDialog, extract ComposeActivity methods

* Fix handling of redrafted media

* Add initial state and media uploading out of Activity

* Change ComposeOptions.mentionedUsernames to be Set rather than List

We probably don't want repeated usernames when we are writing a post
and Set provides such guarantee for free plus it tells it to the
callers. The only disadvantage is lack of order but it shouldn't be a
problem.

* Add combineOptionalLiveData. Add docs.

It it useful for nullable LiveData's. I think we cannot differentiate
between value not being set and value being null so I just added the
variant without null check.

* Add poll support to Compose.

* cleanup code

* move more classes into compose package

* cleanup code

* fix button behavior

* add error handling for media upload

* add caching for instance data again

* merge develop

* fix scheduled toots

* delete unused string

* cleanup ComposeActivity

* fix restoring media from drafts

* make media upload code a little bit clearer

* cleanup autocomplete search code

* avoid duplicate object creation in SavedTootActivity

* perf: avoid unnecessary work when initializing ComposeActivity

* add license header to new files

* use small toot button on bigger displays

* fix ComposeActivityTest

* fix bad merge

* use Singles.zip instead of Single.zip
2019-12-19 19:09:40 +01:00
..
anim fix some lint warnings 2019-04-21 08:24:29 +02:00
color Refactor theming (#1529) 2019-10-12 20:00:29 +02:00
drawable Bookmarks (#1560) 2019-11-19 10:15:32 +01:00
drawable-anydpi List tabs (#1570) 2019-12-02 16:53:24 +01:00
drawable-hdpi update minSdkVersion to 21 (#843) 2018-09-16 18:54:12 +02:00
drawable-mdpi update minSdkVersion to 21 (#843) 2018-09-16 18:54:12 +02:00
drawable-night Refactor theming (#1529) 2019-10-12 20:00:29 +02:00
drawable-v24 2019 Emoji Update (#1261) 2019-06-06 21:51:56 +02:00
drawable-v26 add hashtag tabs (#1145) 2019-03-24 08:59:55 +01:00
drawable-xhdpi update minSdkVersion to 21 (#843) 2018-09-16 18:54:12 +02:00
drawable-xxhdpi update minSdkVersion to 21 (#843) 2018-09-16 18:54:12 +02:00
drawable-xxxhdpi update minSdkVersion to 21 (#843) 2018-09-16 18:54:12 +02:00
layout ComposeActivity refactor (#1541) 2019-12-19 19:09:40 +01:00
layout-land Redesign report activity (#1295) 2019-06-09 16:55:34 +02:00
layout-sw640dp Migrate to ViewPager2 (#1544) 2019-11-06 20:17:53 +01:00
menu enable reporting users without statuses (#1445) 2019-08-17 09:08:58 +02:00
mipmap-anydpi-v26 add shortcut to ComposeActivity (#1147) 2019-03-30 15:19:02 +01:00
raw add License activity (#689) 2018-06-25 13:02:34 +02:00
values ComposeActivity refactor (#1541) 2019-12-19 19:09:40 +01:00
values-ar ComposeActivity refactor (#1541) 2019-12-19 19:09:40 +01:00
values-bn-rIN ComposeActivity refactor (#1541) 2019-12-19 19:09:40 +01:00
values-ca ComposeActivity refactor (#1541) 2019-12-19 19:09:40 +01:00
values-cs ComposeActivity refactor (#1541) 2019-12-19 19:09:40 +01:00
values-cy set title_tag as non-translatable (#1551) 2019-11-08 17:46:40 +01:00
values-de ComposeActivity refactor (#1541) 2019-12-19 19:09:40 +01:00
values-en-rAU Added translation using Weblate (English (Australia)) 2019-10-22 19:18:26 +00:00
values-en-rGB fix string problems 2019-07-22 17:20:58 +02:00
values-en-rUS fix string problems 2019-07-22 17:20:58 +02:00
values-eo ComposeActivity refactor (#1541) 2019-12-19 19:09:40 +01:00
values-es ComposeActivity refactor (#1541) 2019-12-19 19:09:40 +01:00
values-eu ComposeActivity refactor (#1541) 2019-12-19 19:09:40 +01:00
values-fa ComposeActivity refactor (#1541) 2019-12-19 19:09:40 +01:00
values-fr ComposeActivity refactor (#1541) 2019-12-19 19:09:40 +01:00
values-fr-rBE Added translation using Weblate (Luxembourgish) 2019-07-20 17:37:14 +00:00
values-hi Translated using Weblate (Malayalam) 2019-11-08 16:45:08 +00:00
values-hu ComposeActivity refactor (#1541) 2019-12-19 19:09:40 +01:00
values-it ComposeActivity refactor (#1541) 2019-12-19 19:09:40 +01:00
values-ja set title_tag as non-translatable (#1551) 2019-11-08 17:46:40 +01:00
values-ko fix formatting of %s favs %s boosts in some languages (#1576) 2019-12-03 12:54:47 +01:00
values-large fix weird resizing of ComposeActivity when emojis are loaded on tablets 2018-12-17 21:58:52 +01:00
values-lb Added translation using Weblate (Luxembourgish) 2019-07-20 17:37:14 +00:00
values-ml Translated using Weblate (Malayalam) 2019-11-16 06:42:00 +00:00
values-night ComposeActivity refactor (#1541) 2019-12-19 19:09:40 +01:00
values-night-v27 make black theme navigation bar color lighter so it works on One Plus (#1103) 2019-03-04 22:34:27 +01:00
values-nl set title_tag as non-translatable (#1551) 2019-11-08 17:46:40 +01:00
values-no-rNB ComposeActivity refactor (#1541) 2019-12-19 19:09:40 +01:00
values-oc ComposeActivity refactor (#1541) 2019-12-19 19:09:40 +01:00
values-pl ComposeActivity refactor (#1541) 2019-12-19 19:09:40 +01:00
values-pt-rBR ComposeActivity refactor (#1541) 2019-12-19 19:09:40 +01:00
values-ru ComposeActivity refactor (#1541) 2019-12-19 19:09:40 +01:00
values-sl ComposeActivity refactor (#1541) 2019-12-19 19:09:40 +01:00
values-small Implement media tab (#430) 2017-11-05 22:32:36 +01:00
values-sv ComposeActivity refactor (#1541) 2019-12-19 19:09:40 +01:00
values-sw380dp ComposeActivity refactor (#1541) 2019-12-19 19:09:40 +01:00
values-ta Translated using Weblate (Persian) 2019-11-16 06:42:00 +00:00
values-tr ComposeActivity refactor (#1541) 2019-12-19 19:09:40 +01:00
values-v27 fix LoginActivity created twice on unauthenticated appstart (#1352) 2019-06-29 11:39:50 +02:00
values-w640dp some Optimizations for tablets (#647) 2018-05-16 19:14:53 +02:00
values-zh-rCN set title_tag as non-translatable (#1551) 2019-11-08 17:46:40 +01:00
values-zh-rHK set title_tag as non-translatable (#1551) 2019-11-08 17:46:40 +01:00
values-zh-rMO set title_tag as non-translatable (#1551) 2019-11-08 17:46:40 +01:00
values-zh-rSG set title_tag as non-translatable (#1551) 2019-11-08 17:46:40 +01:00
values-zh-rTW set title_tag as non-translatable (#1551) 2019-11-08 17:46:40 +01:00
xml Upgrade api level to Android 10, implement new sharing api (#1537) 2019-10-22 21:18:20 +02:00