Mark Wei

Results 27 issues of Mark Wei

Stateful operators are difficult to implement correctly, because the same operator instance can be reused across many streams. This is an android-specific issue, since only android has the `stream.compose(operator)` pattern.

Internal cleanup

The problem narrows down to the `resolutionStrategy.dependencySubstitution.all {}` call ``` markwei@markwei-macbookpro2 ~/github/material-motion-android (work *>) $ gr build --stacktrace The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed...

This is quite easy to do on a slow device (or emulator). First attach RemixerFragment to a button ``` RemixerFragment remixerFragment = RemixerFragment.newInstance(); remixerFragment.attachToButton(this, (Button) findViewById(R.id.remixer_button)); ``` Then tap on...

ui
testing
p2

This was suggested by Alastair this morning.

ui

I have code like this: ``` private View target; protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main_activity); RemixerBinder.bind(this); // [1] RemixerFragment remixerFragment = RemixerFragment.newInstance(); remixerFragment.attachToButton(this, (Button) findViewById(R.id.remixer_button)); target = findViewById(R.id.target); //...

Right now, you change change the value of a variable in remixer ui, and that change will be reflected in your callback. For variables that change over time (like the...

enhancement

Right now, a custom invocation of RemixerFragment has to be done via `DialogFragment#show(FragmentManager manager, String tag)`. It's not too bad, but consider exposing a more streamlined `show(FragmentActivity activity)` API. Clients...

enhancement
ui
p3

It would be really useful if you could show the RemixerFragment from a right-side edge swipe, for example.

enhancement
ui

Maybe caching the displayWidth and displayHeight isn't the way to go. https://github.com/pingpongboss/StandOut/blob/master/library/src/wei/mark/standout/ui/Window.java#L80 Rotating the screen should also check the window size and bounds to make sure they fit in the...

It should call getHideIntent() https://github.com/pingpongboss/StandOut/blob/master/library/src/wei/mark/standout/StandOutWindow.java#L139