sdkmanager --update
sdkmanager --list
| package com.tapura.podmorecasts | |
| import android.support.test.espresso.Espresso.onView | |
| import android.support.test.espresso.action.ViewActions.pressImeActionButton | |
| import android.support.test.espresso.matcher.ViewMatchers.withId | |
| class ActRobot { | |
| fun clickOkInSearchBar() { | |
| onView(withId(android.support.design.R.id.search_src_text)).perform().perform(pressImeActionButton()) | |
| } |
| //Em Activity | |
| Intent i = new Intent(MainActivity.this, Destino.java); | |
| startActivity(i); | |
| overridePendingTransition(R.anim.fadein, R.anim.fadeout); | |
| // Em fragments (provavelmente já possúi um código parecido com este) | |
| FragmentManager fragmentManager = getSupportFragmentManager(); | |
| FragmentTransaction transaction = fragmentManager.beginTransaction(); | |
| transaction.setCustomAnimations(R.anim.fadein, R.anim.fadeout); //animação aqui | |
| transaction.commit(); |
I recently had the following problem:
We didn't want to open the MySQL port to the network, but it's possible to SSH from the Jenkins machine to the MySQL machine. So, basically you would do something like
ssh -L 3306:localhost:3306 remotehost