I hereby claim:
- I am arriolac on github.
- I am chrisarriola (https://keybase.io/chrisarriola) on keybase.
- I have a public key ASBSQlNOoGj57_pr5_Rn2ei1zRfC6Xm4GHkigxYOwjIXCQo
To claim this, I am signing this object:
import java.util.Iterator; | |
import java.util.List; | |
import java.util.NoSuchElementException; | |
/** | |
* An Iterator that flattens iterating over a list of Iterators. | |
* | |
* Created by chris on 1/5/16. | |
*/ |
new ActionBarDrawerToggle(this, drawerLayout, toolbar, R.string.navigation_drawer_open, R.string.navigation_drawer_close) { | |
@Override public void onDrawerSlide(View drawerView, float slideOffset) { | |
super.onDrawerSlide(drawerView, 0); | |
} | |
}; |
I hereby claim:
To claim this, I am signing this object:
// Copyright 2022 Google LLC. | |
// SPDX-License-Identifier: Apache-2.0 | |
val singapore = LatLng(1.35, 103.87) | |
val cameraPositionState = rememberCameraPositionState { | |
position = CameraPosition.fromLatLngZoom(singapore, 11f) | |
} | |
Box(Modifier.fillMaxSize()) { | |
GoogleMap( | |
modifier = Modifier.matchParentSize(), |
// Copyright 2022 Google LLC. | |
// SPDX-License-Identifier: Apache-2.0 | |
GoogleMap( | |
uiSettings = MapUiSettings(compassEnabled = false, mapToolbarEnabled = true) | |
// … | |
) |
// Copyright 2022 Google LLC. | |
// SPDX-License-Identifier: Apache-2.0 | |
GoogleMap( | |
properties = MapProperties(isBuildingEnabled = true) | |
// … | |
) |
// Copyright 2022 Google LLC. | |
// SPDX-License-Identifier: Apache-2.0 | |
GoogleMap(modifier = Modifier.fillMaxSize()) { | |
Marker( | |
state = MarkerState(LatLng(1.35, 103.87)), | |
title = "Marker in Singapore", | |
onClick = { Log.d("Marker", "Marker was clicked") } | |
) | |
} |
// Copyright 2022 Google LLC. | |
// SPDX-License-Identifier: Apache-2.0 | |
val singapore = LatLng(1.35, 103.87) | |
val cameraPositionState = rememberCameraPositionState { | |
position = CameraPosition.fromLatLngZoom(singapore, 11f) | |
} | |
Box(Modifier.fillMaxSize()) { | |
GoogleMap( | |
modifier = Modifier.matchParentSize(), |
// Copyright 2022 Google LLC. | |
// SPDX-License-Identifier: Apache-2.0 | |
MyAppTheme { | |
GoogleMap( | |
//… | |
) { | |
Circle( | |
center = singapore, | |
fillColor = MaterialTheme.colors.primary |
// Copyright 2022 Google LLC. | |
// SPDX-License-Identifier: Apache-2.0 | |
class MyComposeAdapter : RecyclerView.Adapter<MyComposeViewHolder>() { | |
override fun onCreateViewHolder( | |
parent: ViewGroup, | |
viewType: Int, | |
): MyComposeViewHolder { | |
return MyComposeViewHolder(ComposeView(parent.context)) |