$ demo on|off [hhmm]
Enable or disable the demo mode on a connected Android device or emulator. You can also pass in a custom value for the system clock in the HHMM format (only used when you use the on command).
| @Composable | |
| fun NumberPicker( | |
| state: MutableState<Int>, | |
| modifier: Modifier = Modifier, | |
| range: IntRange? = null, | |
| textStyle: TextStyle = LocalTextStyle.current, | |
| onStateChanged: (Int) -> Unit = {}, | |
| ) { | |
| val coroutineScope = rememberCoroutineScope() | |
| val numbersColumnHeight = 36.dp |
| ❱ git config user.signingKey 38AF394C | |
| ❱ git config commit.gpgSign true | |
| ❱ echo "test" | gpg --clearsign | |
| -----BEGIN PGP SIGNED MESSAGE----- | |
| Hash: SHA256 | |
| test | |
| gpg: signing failed: Inappropriate ioctl for device | |
| gpg: [stdin]: clear-sign failed: Inappropriate ioctl for device |
| /* | |
| * Copyright (c) 2018. Uber Technologies | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
| package com.saber.customstickyheader; | |
| import android.graphics.Color; | |
| import android.support.annotation.NonNull; | |
| import android.support.v7.widget.RecyclerView; | |
| import android.view.LayoutInflater; | |
| import android.view.View; | |
| import android.view.ViewGroup; | |
| import android.widget.TextView; |
| public class NoBounceBehavior extends AppBarLayout.Behavior { | |
| private static final int TYPE_FLING = 1; | |
| ... | |
| @Override | |
| public boolean onInterceptTouchEvent(CoordinatorLayout parent, AppBarLayout child, MotionEvent ev) { | |
| if (isFlinging) { | |
| shouldBlockNestedScroll = true; | |
| } | |
| return super.onInterceptTouchEvent(parent, child, ev); |
| /* | |
| * Copyright 2017 Google Inc. | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file | |
| * except in compliance with the License. You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software distributed under the | |
| * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
$ demo on|off [hhmm]
Enable or disable the demo mode on a connected Android device or emulator. You can also pass in a custom value for the system clock in the HHMM format (only used when you use the on command).
| import android.support.design.widget.AppBarLayout; | |
| /** | |
| * App bar collapsing state | |
| * @author Paulo Caldeira <[email protected]>. | |
| */ | |
| public abstract class AppBarStateChangeListener implements AppBarLayout.OnOffsetChangedListener { | |
| // State | |
| public enum State { | |
| EXPANDED, |
| <?xml version="1.0" encoding="utf-8"?> | |
| <!-- | |
| Copyright 2016 Google Inc. | |
| Licensed under the Apache License, Version 2.0 (the "License"); | |
| you may not use this file except in compliance with the License. | |
| You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 |
| package me.angrybyte.coloringdemo; | |
| /** | |
| * IMPORTANT NOTICE | |
| * | |
| * This is now a part of SillyAndroid https://github.com/milosmns/silly-android, | |
| * with new fixes and improvements. | |
| */ |