Skip to content

public roomを指定できるようにする. - #261

Merged
mori-atsushi merged 6 commits into
cyder:developmentfrom
chigichan24:258-post-public-room
May 13, 2018
Merged

mori-atsushi merged 6 commits into
cyder:developmentfrom
chigichan24:258-post-public-room

Conversation

@chigichan24

Copy link
Copy Markdown
Member

Close #258

いい感じにふぉいした.

@mori-atsushi mori-atsushi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

動作は問題なさそうです。

package com.cyder.android.syncpod.viewmodel

import android.databinding.ObservableField
import android.util.Log

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

消す

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/set_public_room"
app:isChecked="@{(v, flg) -> viewModel.onChecked(flg)}"/>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

うーん、やっぱり公開設定っていうドロップダウンメニューにしたほうがいいかも?
公開押さないと下書きみたいになりそう
別Issueでも可能

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

これを処理する能力がないので別Issue立てます

) : ActivityViewModel() {
var roomName: ObservableField<String?> = ObservableField()
var roomDescription: ObservableField<String?> = ObservableField()
var isPublic: ObservableField<Boolean> = ObservableField()

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ObservableBooleanがあったはず

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@mori-atsushi

Copy link
Copy Markdown
Collaborator

コンフリクト修正だけお願いします。
v2.0.2がリリースされた後にマージします。

…lic-room

# Conflicts:
#	app/src/main/res/values/strings.xml
Comment thread .gitignore
.idea/dictionaries
.idea/libraries
.idea/caches
.idea/misc.xml

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

お?マージミスってるぞ

@mori-atsushi mori-atsushi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

デザインはこちらでなんとかします

@mori-atsushi
mori-atsushi merged commit 7a9b9c1 into cyder:development May 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants