Skip to content

Instantly share code, notes, and snippets.

View Vagonn's full-sized avatar

Nurlan Vagonn

View GitHub Profile
@Vagonn
Vagonn / activity_main.xml
Created July 13, 2018 05:28
Main page layout
<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="false"
tools:context=".MainActivity"
tools:openDrawer="end">
@Vagonn
Vagonn / MainActivity.java
Created July 13, 2018 05:31
Setting recyclerview adapter
private void parseJSON(String url)
{
JsonObjectRequest jsonObjectRequest = new JsonObjectRequest(
Request.Method.GET,
url,
null,
new Response.Listener<JSONObject>()
{
@Override
public void onResponse(JSONObject response)
@Vagonn
Vagonn / FeedAdapter.java
Created July 13, 2018 05:40
FeedAdapter
package com.websiteca.metbuataz;
import android.content.Context;
import android.graphics.Color;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.text.Spannable;
import android.text.SpannableString;
import android.text.style.ForegroundColorSpan;
import android.view.LayoutInflater;
@Vagonn
Vagonn / privacy.html
Created October 24, 2018 07:06
Camera Permission Privacy Policy
This app user camera for working properly, as it is Augmented Reality Application
@Vagonn
Vagonn / test
Last active July 20, 2020 11:08
test
{"success":"kamran"}
@Vagonn
Vagonn / jsonParseExample.java
Created November 18, 2018 17:19
jsonParseExample
import com.android.volley.Request;
import com.android.volley.RequestQueue;
import com.android.volley.Response;
import com.android.volley.VolleyError;
import com.android.volley.toolbox.JsonObjectRequest;
import com.android.volley.toolbox.Volley;
import com.google.android.gms.analytics.HitBuilders;
import com.google.android.gms.analytics.Tracker;
import org.json.JSONArray;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
using Barebones.MasterServer;
using System.Security.Cryptography;
using System;
using TMPro;
[Serializable]
using Barebones.MasterServer;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
using Barebones.Logging;
using UnityEngine.Networking;
using UnityEngine.Networking.NetworkSystem;