This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Android.OS; | |
using Google.Android.Material.Internal; | |
using MvvmCross.Platforms.Android.Views; | |
namespace APP_NAMESPACE; | |
public class HostActivityExample : MvxActivity { | |
protected override void OnCreate(Bundle savedInstanceState) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//source: https://github.com/DrKLO/Telegram/blob/master/TMessagesProj/src/main/java/org/telegram/ui/ActionBar/BackDrawable.java | |
using Android.Graphics; | |
using Android.Graphics.Drawables; | |
using Android.Views.Animations; | |
using DPTOPX_EXTENSION; | |
namespace YOUR_NAMESPACE { | |
public class BackDrawable : Drawable { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.jamme; | |
public class jaMME | |
extends android.app.Activity | |
implements | |
mono.android.IGCUserPeer | |
{ | |
/** @hide */ | |
public static final String __md_methods; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void demoCutParsePacketEntities(msg_t *msg, clSnapshot_t *oldSnap, clSnapshot_t *newSnap, clientActive_t *clCut) { | |
/* The beast that is entity parsing */ | |
int newnum; | |
entityState_t *oldstate, *newstate; | |
int oldindex = 0; | |
int oldnum; | |
newSnap->parseEntitiesNum = clCut->parseEntitiesNum; | |
newSnap->numEntities = 0; | |
newnum = MSG_ReadBits(msg, GENTITYNUM_BITS); | |
while (1) { |