Questions tagged [turbolinks-android]

Turbolinks Android is a native adapter for any Turbolinks 5 enabled web app. It's built entirely using standard Android tools and conventions. It's commonly used in Rails 5 applications. It's developed by Basecamp

Activate/Import Turbolinks:

import com.basecamp.turbolinks.TurbolinksSession;
import com.basecamp.turbolinks.TurbolinksAdapter;
import com.basecamp.turbolinks.TurbolinksView;

gradle file

Add this line of dependencies

implementation 'com.basecamp:turbolinks:1.0.7'

Then invalidate cache & restart Android Studio for activate turbolinks.

Resources

8 questions
2
votes
2 answers

On Android Turbolinks, how to create custom progressView to replace default spinner?

On Android using Turbolinks 5, I am not getting the classic Turbolinks transition (without any intervening white page and with horizontal progress bar on top). So I think I need my own progressView but I may be wrong I have this in my…
daya
  • 41
  • 6
1
vote
2 answers

Main Activity cannot start when loaded

The app keeps crashing when I open it on an emulator. This is the activity_main.xml and the error I get.
Osborne Saka
  • 469
  • 1
  • 4
  • 21
1
vote
2 answers

How to load web content on turbolinks-android

I have a web app which made with Ruby on Rails and enabled Turbolinks 5 but currently, I need to make a native Android app which actually designed by Basecamp. On their GitHub repository have step by step setup I'm following this steps because here…
fool-dev
  • 7,671
  • 9
  • 40
  • 54
1
vote
0 answers

Turbolinks-Android not working as expected with min sdk version 19

I've started a Turbolinks android application and have a form that requires a date input.
Birthday:
The problem is that when I touch on the date input field it doesn't…
1
vote
1 answer

Turbolinks - How to open native camera/gallery on form button click

I am developing an Android and iOS webapp using Turbolinks. I'm trying to implement taking a new picture or selecting one from the gallery using the native views/process. I have this line in my form
tinOfBeans
  • 707
  • 1
  • 9
  • 22
1
vote
1 answer

Turbolinks 5 and Android: Fails when use file upload (webview)

Problem When the user clicks on choose file, I intercept that click natively and I call the native view (screen 3 in the mockup). After the user select the file he wants to upload, I need to "reload" the view in order to add the name of the file in…
0
votes
1 answer

Using the Android Turbolinks Framework, how do I mitigate Bridge Injection Failures

I asked this question on the Turbolinks GitHub page last week as I kept experiencing this bridge injection failure issue. The issue is extremely intermittent and is very challenging to reproduce, but the code of the problem is that on some devices,…
PGMacDesign
  • 6,092
  • 8
  • 41
  • 78
0
votes
1 answer

Turbolinks Adapter cannot be applied to MainActivity

I'm following the turbolinks-android documentation, https://github.com/turbolinks/turbolinks-android, trying to setup an android wrapper for a Rails site built with turbolinks 5. Come across an issue with this line, .adapter(this) in Main Activity.…
JonSayer
  • 181
  • 1
  • 16