Skip to content

Instantly share code, notes, and snippets.

View wwdablu's full-sized avatar
:octocat:
Looking for other developers to create open source android libraries.

Soumya wwdablu

:octocat:
Looking for other developers to create open source android libraries.
View GitHub Profile
@wwdablu
wwdablu / lottie_create_item_from_item.java
Last active November 19, 2019 01:48
Create menu item from another menu item
MenuItem item2 = MenuItemBuilder.createFrom(item1)
.selectedLottieName("gift.json")
.unSelectedLottieName("gift.json")
.build();
@wwdablu
wwdablu / lottie_menuitem_builder_sample
Last active November 19, 2019 01:45
Sample of how to use the menuitembuilder
MenuItem item = MenuItemBuilder.create("home.json", MenuItem.Source.Assets, fontItem, "dashboard")
.pausedProgress(1f)
.loop(false)
.build();
@wwdablu
wwdablu / lottie_menu_item.xml
Created December 3, 2018 21:43
This is the layout of the menu item which is displayed in the lottiebottomnav
<?xml version="1.0" encoding="utf-8"?>
<layout>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/menu_container"
android:background="@android:color/transparent"
android:orientation="vertical">
This application by default does not track or record anything of the user explicitly.
This application by default does not track or record anything of the user explicitly.
public Camera FirstPersonCamera;
public GameObject DetectedPlanePrefab;
public GameObject DiabloGameObject;
void Update () {
_UpdateApplicationLifecycle();
// Hide snackbar when currently tracking at least one plane.
Session.GetTrackables<DetectedPlane>(m_AllPlanes);