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.rbrooks.indefinitepagerindicator | |
import android.view.animation.DecelerateInterpolator | |
import androidx.compose.animation.ExperimentalAnimationApi | |
import androidx.compose.foundation.Canvas | |
import androidx.compose.foundation.layout.Box | |
import androidx.compose.foundation.layout.fillMaxWidth | |
import androidx.compose.material.ContentAlpha | |
import androidx.compose.runtime.Composable | |
import androidx.compose.runtime.derivedStateOf |
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.rbrooks.indefinitepagerindicator | |
import android.view.animation.DecelerateInterpolator | |
import androidx.compose.animation.ExperimentalAnimationApi | |
import androidx.compose.foundation.Canvas | |
import androidx.compose.foundation.layout.Box | |
import androidx.compose.foundation.layout.fillMaxWidth | |
import androidx.compose.material.ContentAlpha | |
import androidx.compose.runtime.Composable | |
import androidx.compose.runtime.derivedStateOf |
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.example.fastadaptertest | |
import android.view.View | |
import com.google.android.gms.maps.GoogleMap | |
import com.mikepenz.fastadapter.FastAdapter | |
import com.mikepenz.fastadapter.items.AbstractItem | |
/** | |
* | |
* @author Rohyme |
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.rohyme.mysideapplication.screens.getMyLocationTesting | |
import android.annotation.SuppressLint | |
import android.content.Context | |
import android.content.IntentSender | |
import android.location.Location | |
import android.os.Bundle | |
import android.os.Looper | |
import android.util.Log | |
import android.widget.Toast |
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.rohyme.mysideapplication.screens.getMyLocationTesting | |
import android.Manifest | |
import android.annotation.SuppressLint | |
import android.app.AlertDialog | |
import android.content.Context | |
import android.content.DialogInterface | |
import android.content.Intent | |
import android.location.LocationManager | |
import android.os.Bundle |
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.example.rohyme.testingapp | |
import android.support.v7.app.AppCompatActivity | |
import android.os.Bundle | |
import android.support.v7.widget.GridLayoutManager | |
import kotlinx.android.synthetic.main.activity_main.* | |
class ListActivity : AppCompatActivity() { |
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
public class WebViewInJava extends AppCompatActivity{ | |
@Override protected void onCreate(@Nullable Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.activity_web_view); | |
initWebView("http://riverback-testing.westeurope.cloudapp.azure.com/river_back_backend/public/Rating?QR=abcd123"); | |
} | |
void initWebView(String url){ |
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
class WebViewActivity : AppCompatActivity() { | |
override fun onCreate(savedInstanceState: Bundle?) { | |
super.onCreate(savedInstanceState) | |
setContentView(R.layout.activity_web_view) | |
initWebView("http://riverback-testing.westeurope.cloudapp.azure.com/river_back_backend/public/Rating?QR=abcd123") | |
} | |
fun initWebView(url :String){ |
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
public class BaseActivity extends AppCompatActivity() { | |
@override | |
public void attachBaseContext(Context newBase){ | |
String langCode = "en"; | |
ContextWrapper context = ContextWrapper.Wrap(newBase , langCode); | |
LocalizationUtils.changeLang(context,langCode) | |
super.attachBaseContext(context) | |
} | |