This is the gist which explains how to use Android predictive back gesture and iOS swipe to go back when using Voyager in Compose multiplatform.
If you are just using Android, you can merge the commonMain stuff and the androidMain stuff.
public class BaseActivity extends AppCompatActivity | |
{ | |
public DrawerLayout drawerLayout; | |
public ListView drawerList; | |
private ActionBarDrawerToggle drawerToggle; | |
protected void onCreate(Bundle savedInstanceState) | |
{ | |
// R.id.drawer_layout should be in every activity with exactly the same id. | |
drawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout); |
public class Group extends RealmObject | |
{ | |
private RealmList<Person> persons; | |
public RealmList<Person> getPersons() | |
{ | |
return persons; | |
} | |
public void setPersons(RealmList<Person> persons) |
Process: Telegram [1624] | |
Path: /Applications/Telegram.app/Contents/MacOS/Telegram | |
Identifier: ru.keepcoder.Telegram | |
Version: 1.60 (20263) | |
App Item ID: 747648890 | |
App External ID: 812412646 | |
Code Type: X86-64 (Native) | |
Parent Process: ??? [1] | |
Responsible: Telegram [1624] | |
User ID: 501 |
package nl.kevinvanmierlo.testtransitiondrawable; | |
import android.graphics.Canvas; | |
import android.graphics.ColorFilter; | |
import android.graphics.PixelFormat; | |
import android.graphics.Rect; | |
import android.graphics.drawable.Drawable; | |
import android.os.SystemClock; | |
import androidx.annotation.NonNull; |
/* | |
MIT License | |
Copyright (c) 2022 Kevin van Mierlo | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |
This is the gist which explains how to use Android predictive back gesture and iOS swipe to go back when using Voyager in Compose multiplatform.
If you are just using Android, you can merge the commonMain stuff and the androidMain stuff.